equal
deleted
inserted
replaced
87 The event mechanism uses this to pass logical keyboard events |
87 The event mechanism uses this to pass logical keyboard events |
88 to the application (such as #Copy, #Cut etc.) |
88 to the application (such as #Copy, #Cut etc.) |
89 instead of physical ones (such as #AltC, #AltX)" |
89 instead of physical ones (such as #AltC, #AltX)" |
90 |
90 |
91 aKey == logicalKey ifTrue:[ |
91 aKey == logicalKey ifTrue:[ |
92 self removeKey:aKey |
92 self removeKey:aKey ifAbsent:nil |
93 ] ifFalse:[ |
93 ] ifFalse:[ |
94 self at:aKey put:logicalKey |
94 self at:aKey put:logicalKey |
95 ] |
95 ] |
96 |
96 |
97 "Modified: 23.4.1996 / 21:54:45 / cg" |
97 "Modified: 12.11.1996 / 10:30:56 / cg" |
98 ! |
98 ! |
99 |
99 |
100 bindValue:logicalKey to:key1 followedBy:key2 |
100 bindValue:logicalKey to:key1 followedBy:key2 |
101 "bind aLogicalKey to a sequence of two rawKeys. |
101 "bind aLogicalKey to a sequence of two rawKeys. |
102 The event mechanism uses this to pass logical keyboard events |
102 The event mechanism uses this to pass logical keyboard events |
134 ! ! |
134 ! ! |
135 |
135 |
136 !KeyboardMap class methodsFor:'documentation'! |
136 !KeyboardMap class methodsFor:'documentation'! |
137 |
137 |
138 version |
138 version |
139 ^ '$Header: /cvs/stx/stx/libview/Attic/KeybdMap.st,v 1.11 1996-04-25 16:33:51 cg Exp $' |
139 ^ '$Header: /cvs/stx/stx/libview/Attic/KeybdMap.st,v 1.12 1996-11-12 09:41:01 cg Exp $' |
140 ! ! |
140 ! ! |