keyboard.rc
author Claus Gittinger <cg@exept.de>
Sat, 20 Mar 2004 01:43:29 +0100
changeset 609 f0f51d4a0066
parent 586 f0bfb532ce7d
child 619 ec77973a872e
permissions -rw-r--r--
*** empty log message ***
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     1
"*
609
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
     2
 * Encoding: iso8859-1
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
     3
 *
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     4
 * $Header$
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     5
 *
399
5a842f5d7196 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 380
diff changeset
     6
 * MIMEType: application/x-smalltalk-source
5a842f5d7196 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 380
diff changeset
     7
 *
209
22793de5d56e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 140
diff changeset
     8
 * ST/X startup configuration file:
22793de5d56e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 140
diff changeset
     9
 *
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    10
 * sample keyboard.rc - file
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    11
 *
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    12
 * this file defines some keyboard macros and adds mappings for
54
802aa9185941 commentary
Claus Gittinger <cg@exept.de>
parents: 41
diff changeset
    13
 * common function keys. These definitions used to be in 'private.rc',
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    14
 * but have been extracted into this separate file to allow easier
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    15
 * sharing of rc files (users having different private files, but want
54
802aa9185941 commentary
Claus Gittinger <cg@exept.de>
parents: 41
diff changeset
    16
 * to use the same keyboard mappings / keyboard macros)
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    17
 *
54
802aa9185941 commentary
Claus Gittinger <cg@exept.de>
parents: 41
diff changeset
    18
 * a copy of this file can reside in $home/.smalltalk/keyboard.rc or
802aa9185941 commentary
Claus Gittinger <cg@exept.de>
parents: 41
diff changeset
    19
 * in the current directory.
802aa9185941 commentary
Claus Gittinger <cg@exept.de>
parents: 41
diff changeset
    20
 *
802aa9185941 commentary
Claus Gittinger <cg@exept.de>
parents: 41
diff changeset
    21
 * these are my personal preferrences which may not be
402
f8bad6cf5abc *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 399
diff changeset
    22
 * correct for your environment.
f8bad6cf5abc *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 399
diff changeset
    23
 *
609
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
    24
 * WARNING:
402
f8bad6cf5abc *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 399
diff changeset
    25
 *   please keep the expressions below free from manipulating
f8bad6cf5abc *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 399
diff changeset
    26
 *   global state - all that should be done here is to set up the current
f8bad6cf5abc *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 399
diff changeset
    27
 *   screens keyboard map.
f8bad6cf5abc *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 399
diff changeset
    28
 *   Reason: in multihead applications, this will be consulted for each
f8bad6cf5abc *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 399
diff changeset
    29
 *   new display screen.
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    30
 *"
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    31
86
7cb0bbfd6431 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 76
diff changeset
    32
|macros|
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    33
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    34
"/
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    35
"/ define some keyboard macros as virtual function-keys:
460
b0b146033ca1 macro names
Claus Gittinger <cg@exept.de>
parents: 459
diff changeset
    36
"/  ReplaceSelectionByUnixCommandsOutput: paste the output of a selected unix command ..
b0b146033ca1 macro names
Claus Gittinger <cg@exept.de>
parents: 459
diff changeset
    37
"/  ToggleTabs:                           toggle between 4 and 8 col tab setting
b0b146033ca1 macro names
Claus Gittinger <cg@exept.de>
parents: 459
diff changeset
    38
"/  IndentBy4:                            indents selection-line by 4
b0b146033ca1 macro names
Claus Gittinger <cg@exept.de>
parents: 459
diff changeset
    39
"/  UndentBy4:                            undents selection-line by 4
b0b146033ca1 macro names
Claus Gittinger <cg@exept.de>
parents: 459
diff changeset
    40
"/  IndentBy1:                            indents selection-line by 1
b0b146033ca1 macro names
Claus Gittinger <cg@exept.de>
parents: 459
diff changeset
    41
"/  UndentBy1:                            undents selection-line by 1
b0b146033ca1 macro names
Claus Gittinger <cg@exept.de>
parents: 459
diff changeset
    42
"/  ConvertSelectionToLowercase: to-lowercase
b0b146033ca1 macro names
Claus Gittinger <cg@exept.de>
parents: 459
diff changeset
    43
"/  ConvertSelectionToUppercase: to-uppercase
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    44
"/
403
e386c8c4da62 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 402
diff changeset
    45
"/ these virtual keys are mapped below to some real keys:
e386c8c4da62 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 402
diff changeset
    46
"/  F9:  undent by 4
e386c8c4da62 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 402
diff changeset
    47
"/  F10: indent by 4
e386c8c4da62 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 402
diff changeset
    48
"/  F11: undent by 1
e386c8c4da62 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 402
diff changeset
    49
"/  F12: indent by 1
86
7cb0bbfd6431 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 76
diff changeset
    50
374
ed55af1bd548 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 370
diff changeset
    51
macros := UserPreferences current functionKeySequences.
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    52
86
7cb0bbfd6431 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 76
diff changeset
    53
"/
7cb0bbfd6431 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 76
diff changeset
    54
"/ macro to replace a text selection by unix commands output
7cb0bbfd6431 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 76
diff changeset
    55
"/
460
b0b146033ca1 macro names
Claus Gittinger <cg@exept.de>
parents: 459
diff changeset
    56
macros at:#ReplaceSelectionByUnixCommandsOutput put:'
459
cd9ac95a8546 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 457
diff changeset
    57
	"replace selection by corresponding
288
ffd914a69270 better indent/undent behavior (delayed redraw)
Claus Gittinger <cg@exept.de>
parents: 255
diff changeset
    58
	 unix commands output"
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    59
288
ffd914a69270 better indent/undent behavior (delayed redraw)
Claus Gittinger <cg@exept.de>
parents: 255
diff changeset
    60
	|sel|
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    61
288
ffd914a69270 better indent/undent behavior (delayed redraw)
Claus Gittinger <cg@exept.de>
parents: 255
diff changeset
    62
	sel := self selection.
ffd914a69270 better indent/undent behavior (delayed redraw)
Claus Gittinger <cg@exept.de>
parents: 255
diff changeset
    63
	sel notNil ifTrue:[
ffd914a69270 better indent/undent behavior (delayed redraw)
Claus Gittinger <cg@exept.de>
parents: 255
diff changeset
    64
	    self replace:
ffd914a69270 better indent/undent behavior (delayed redraw)
Claus Gittinger <cg@exept.de>
parents: 255
diff changeset
    65
		(PipeStream readingFrom:(sel asString))
ffd914a69270 better indent/undent behavior (delayed redraw)
Claus Gittinger <cg@exept.de>
parents: 255
diff changeset
    66
		    contents asString
ffd914a69270 better indent/undent behavior (delayed redraw)
Claus Gittinger <cg@exept.de>
parents: 255
diff changeset
    67
	]'.
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    68
86
7cb0bbfd6431 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 76
diff changeset
    69
"/
487
6d6fbd3a4a46 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 484
diff changeset
    70
"/ macro to paste the text generated by a block
6d6fbd3a4a46 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 484
diff changeset
    71
"/
6d6fbd3a4a46 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 484
diff changeset
    72
"/macros at:#PasteBlockEvaluationsOutput put:'
6d6fbd3a4a46 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 484
diff changeset
    73
"/        "replace selection by blocks output"
6d6fbd3a4a46 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 484
diff changeset
    74
"/
6d6fbd3a4a46 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 484
diff changeset
    75
"/        |sel s block|
6d6fbd3a4a46 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 484
diff changeset
    76
"/
6d6fbd3a4a46 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 484
diff changeset
    77
"/        sel := self selectionAsString.
6d6fbd3a4a46 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 484
diff changeset
    78
"/        sel notNil ifTrue:[
6d6fbd3a4a46 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 484
diff changeset
    79
"/            block := Compiler evaluate:sel asString string.
6d6fbd3a4a46 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 484
diff changeset
    80
"/            s := '''' writeStream.
6d6fbd3a4a46 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 484
diff changeset
    81
"/            block value:s.
6d6fbd3a4a46 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 484
diff changeset
    82
"/            self paste:s contents asString
6d6fbd3a4a46 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 484
diff changeset
    83
"/        ]'.
6d6fbd3a4a46 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 484
diff changeset
    84
6d6fbd3a4a46 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 484
diff changeset
    85
"/
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    86
"/ macro to toggle tabs
86
7cb0bbfd6431 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 76
diff changeset
    87
"/
460
b0b146033ca1 macro names
Claus Gittinger <cg@exept.de>
parents: 459
diff changeset
    88
macros at:#ToggleTabs put:'
609
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
    89
	"toggle between 4-col
288
ffd914a69270 better indent/undent behavior (delayed redraw)
Claus Gittinger <cg@exept.de>
parents: 255
diff changeset
    90
	 and 8-col tabs"
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    91
288
ffd914a69270 better indent/undent behavior (delayed redraw)
Claus Gittinger <cg@exept.de>
parents: 255
diff changeset
    92
	(tabPositions == self class tab4Positions)
ffd914a69270 better indent/undent behavior (delayed redraw)
Claus Gittinger <cg@exept.de>
parents: 255
diff changeset
    93
	     ifTrue:[self setTab8]
ffd914a69270 better indent/undent behavior (delayed redraw)
Claus Gittinger <cg@exept.de>
parents: 255
diff changeset
    94
	     ifFalse:[self setTab4]'.
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    95
86
7cb0bbfd6431 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 76
diff changeset
    96
"/
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    97
"/ macro to indent by 4
86
7cb0bbfd6431 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 76
diff changeset
    98
"/
460
b0b146033ca1 macro names
Claus Gittinger <cg@exept.de>
parents: 459
diff changeset
    99
macros at:#IndentBy4 put:'
609
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   100
	"indent selected line-range
288
ffd914a69270 better indent/undent behavior (delayed redraw)
Claus Gittinger <cg@exept.de>
parents: 255
diff changeset
   101
	 by 4 spaces (i.e. to the right)"
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   102
370
9aeb341c2dac if no selection, indent/undent the cursorLine
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   103
	|line1 line2|
9aeb341c2dac if no selection, indent/undent the cursorLine
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   104
9aeb341c2dac if no selection, indent/undent the cursorLine
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   105
	line1 := self selectionStartLine.
9aeb341c2dac if no selection, indent/undent the cursorLine
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   106
	line2 := self selectionEndLine.
9aeb341c2dac if no selection, indent/undent the cursorLine
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   107
	line1 isNil ifTrue:[
9aeb341c2dac if no selection, indent/undent the cursorLine
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   108
	    line1 := self perform:#cursorLine ifNotUnderstood:nil.
9aeb341c2dac if no selection, indent/undent the cursorLine
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   109
	    line1 notNil ifTrue:[
9aeb341c2dac if no selection, indent/undent the cursorLine
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   110
		line2 := line1+1
9aeb341c2dac if no selection, indent/undent the cursorLine
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   111
	    ]
9aeb341c2dac if no selection, indent/undent the cursorLine
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   112
	].
609
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   113
	line1 notNil ifTrue:[
440
d0d6753a8f3f speedup indent/undent operation
Claus Gittinger <cg@exept.de>
parents: 438
diff changeset
   114
	    self withExecuteCursorDo:[
d0d6753a8f3f speedup indent/undent operation
Claus Gittinger <cg@exept.de>
parents: 438
diff changeset
   115
		line1 to:line2-1 do:[:lineNr |
d0d6753a8f3f speedup indent/undent operation
Claus Gittinger <cg@exept.de>
parents: 438
diff changeset
   116
		    |line|
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   117
440
d0d6753a8f3f speedup indent/undent operation
Claus Gittinger <cg@exept.de>
parents: 438
diff changeset
   118
		    line := self listAt:lineNr.
d0d6753a8f3f speedup indent/undent operation
Claus Gittinger <cg@exept.de>
parents: 438
diff changeset
   119
		    line notNil ifTrue:[
d0d6753a8f3f speedup indent/undent operation
Claus Gittinger <cg@exept.de>
parents: 438
diff changeset
   120
			line notEmpty ifTrue:[
d0d6753a8f3f speedup indent/undent operation
Claus Gittinger <cg@exept.de>
parents: 438
diff changeset
   121
			    line := ''    '' , line.
d0d6753a8f3f speedup indent/undent operation
Claus Gittinger <cg@exept.de>
parents: 438
diff changeset
   122
			    self list at:lineNr put:line.
d0d6753a8f3f speedup indent/undent operation
Claus Gittinger <cg@exept.de>
parents: 438
diff changeset
   123
			    "/ self withoutRedrawAt:lineNr put:line.
d0d6753a8f3f speedup indent/undent operation
Claus Gittinger <cg@exept.de>
parents: 438
diff changeset
   124
			    "/ self invalidateLine:lineNr.
d0d6753a8f3f speedup indent/undent operation
Claus Gittinger <cg@exept.de>
parents: 438
diff changeset
   125
			]
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   126
		    ]
440
d0d6753a8f3f speedup indent/undent operation
Claus Gittinger <cg@exept.de>
parents: 438
diff changeset
   127
		].
d0d6753a8f3f speedup indent/undent operation
Claus Gittinger <cg@exept.de>
parents: 438
diff changeset
   128
		self textChanged.
d0d6753a8f3f speedup indent/undent operation
Claus Gittinger <cg@exept.de>
parents: 438
diff changeset
   129
		line1 to:line2-1 do:[:lineNr |
d0d6753a8f3f speedup indent/undent operation
Claus Gittinger <cg@exept.de>
parents: 438
diff changeset
   130
		    self invalidateLine:lineNr.
d0d6753a8f3f speedup indent/undent operation
Claus Gittinger <cg@exept.de>
parents: 438
diff changeset
   131
		].
288
ffd914a69270 better indent/undent behavior (delayed redraw)
Claus Gittinger <cg@exept.de>
parents: 255
diff changeset
   132
	    ].
ffd914a69270 better indent/undent behavior (delayed redraw)
Claus Gittinger <cg@exept.de>
parents: 255
diff changeset
   133
	]
ffd914a69270 better indent/undent behavior (delayed redraw)
Claus Gittinger <cg@exept.de>
parents: 255
diff changeset
   134
	'.
86
7cb0bbfd6431 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 76
diff changeset
   135
7cb0bbfd6431 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 76
diff changeset
   136
"/
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   137
"/ macro to undent by 4
86
7cb0bbfd6431 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 76
diff changeset
   138
"/
460
b0b146033ca1 macro names
Claus Gittinger <cg@exept.de>
parents: 459
diff changeset
   139
macros at:#UndentBy4 put:'
609
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   140
	"undent selected line-range
288
ffd914a69270 better indent/undent behavior (delayed redraw)
Claus Gittinger <cg@exept.de>
parents: 255
diff changeset
   141
	 by 4 spaces (i.e. to the left)"
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   142
370
9aeb341c2dac if no selection, indent/undent the cursorLine
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   143
	|line1 line2|
9aeb341c2dac if no selection, indent/undent the cursorLine
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   144
9aeb341c2dac if no selection, indent/undent the cursorLine
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   145
	line1 := self selectionStartLine.
9aeb341c2dac if no selection, indent/undent the cursorLine
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   146
	line2 := self selectionEndLine.
9aeb341c2dac if no selection, indent/undent the cursorLine
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   147
	line1 isNil ifTrue:[
9aeb341c2dac if no selection, indent/undent the cursorLine
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   148
	    line1 := self perform:#cursorLine ifNotUnderstood:nil.
9aeb341c2dac if no selection, indent/undent the cursorLine
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   149
	    line1 notNil ifTrue:[
9aeb341c2dac if no selection, indent/undent the cursorLine
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   150
		line2 := line1+1
9aeb341c2dac if no selection, indent/undent the cursorLine
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   151
	    ]
9aeb341c2dac if no selection, indent/undent the cursorLine
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   152
	].
609
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   153
	line1 notNil ifTrue:[
440
d0d6753a8f3f speedup indent/undent operation
Claus Gittinger <cg@exept.de>
parents: 438
diff changeset
   154
	    self withExecuteCursorDo:[
d0d6753a8f3f speedup indent/undent operation
Claus Gittinger <cg@exept.de>
parents: 438
diff changeset
   155
		line1 to:line2-1 do:[:lineNr |
d0d6753a8f3f speedup indent/undent operation
Claus Gittinger <cg@exept.de>
parents: 438
diff changeset
   156
		    |line|
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   157
440
d0d6753a8f3f speedup indent/undent operation
Claus Gittinger <cg@exept.de>
parents: 438
diff changeset
   158
		    line := self listAt:lineNr.
d0d6753a8f3f speedup indent/undent operation
Claus Gittinger <cg@exept.de>
parents: 438
diff changeset
   159
		    line notNil ifTrue:[
d0d6753a8f3f speedup indent/undent operation
Claus Gittinger <cg@exept.de>
parents: 438
diff changeset
   160
			line notEmpty ifTrue:[
d0d6753a8f3f speedup indent/undent operation
Claus Gittinger <cg@exept.de>
parents: 438
diff changeset
   161
			    (line startsWith:''    '') ifTrue:[
d0d6753a8f3f speedup indent/undent operation
Claus Gittinger <cg@exept.de>
parents: 438
diff changeset
   162
				line := line copyFrom:5.
d0d6753a8f3f speedup indent/undent operation
Claus Gittinger <cg@exept.de>
parents: 438
diff changeset
   163
				self list at:lineNr put:line.
d0d6753a8f3f speedup indent/undent operation
Claus Gittinger <cg@exept.de>
parents: 438
diff changeset
   164
				"/ self withoutRedrawAt:lineNr put:line.
d0d6753a8f3f speedup indent/undent operation
Claus Gittinger <cg@exept.de>
parents: 438
diff changeset
   165
				"/ self invalidateLine:lineNr.
d0d6753a8f3f speedup indent/undent operation
Claus Gittinger <cg@exept.de>
parents: 438
diff changeset
   166
			    ]
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   167
			]
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   168
		    ]
440
d0d6753a8f3f speedup indent/undent operation
Claus Gittinger <cg@exept.de>
parents: 438
diff changeset
   169
		].
d0d6753a8f3f speedup indent/undent operation
Claus Gittinger <cg@exept.de>
parents: 438
diff changeset
   170
		self textChanged.
d0d6753a8f3f speedup indent/undent operation
Claus Gittinger <cg@exept.de>
parents: 438
diff changeset
   171
		line1 to:line2-1 do:[:lineNr |
d0d6753a8f3f speedup indent/undent operation
Claus Gittinger <cg@exept.de>
parents: 438
diff changeset
   172
		    self invalidateLine:lineNr.
d0d6753a8f3f speedup indent/undent operation
Claus Gittinger <cg@exept.de>
parents: 438
diff changeset
   173
		].
288
ffd914a69270 better indent/undent behavior (delayed redraw)
Claus Gittinger <cg@exept.de>
parents: 255
diff changeset
   174
	    ].
ffd914a69270 better indent/undent behavior (delayed redraw)
Claus Gittinger <cg@exept.de>
parents: 255
diff changeset
   175
	]
ffd914a69270 better indent/undent behavior (delayed redraw)
Claus Gittinger <cg@exept.de>
parents: 255
diff changeset
   176
	'.
292
aab8f8feb824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 290
diff changeset
   177
"/
aab8f8feb824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 290
diff changeset
   178
"/ macro to indent by 1
aab8f8feb824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 290
diff changeset
   179
"/
460
b0b146033ca1 macro names
Claus Gittinger <cg@exept.de>
parents: 459
diff changeset
   180
macros at:#IndentBy1 put:'
609
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   181
	"indent selected line-range
292
aab8f8feb824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 290
diff changeset
   182
	 by 1 space (i.e. to the right)"
aab8f8feb824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 290
diff changeset
   183
370
9aeb341c2dac if no selection, indent/undent the cursorLine
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   184
	|line1 line2|
9aeb341c2dac if no selection, indent/undent the cursorLine
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   185
9aeb341c2dac if no selection, indent/undent the cursorLine
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   186
	line1 := self selectionStartLine.
9aeb341c2dac if no selection, indent/undent the cursorLine
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   187
	line2 := self selectionEndLine.
9aeb341c2dac if no selection, indent/undent the cursorLine
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   188
	line1 isNil ifTrue:[
9aeb341c2dac if no selection, indent/undent the cursorLine
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   189
	    line1 := self perform:#cursorLine ifNotUnderstood:nil.
9aeb341c2dac if no selection, indent/undent the cursorLine
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   190
	    line1 notNil ifTrue:[
9aeb341c2dac if no selection, indent/undent the cursorLine
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   191
		line2 := line1+1
9aeb341c2dac if no selection, indent/undent the cursorLine
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   192
	    ]
9aeb341c2dac if no selection, indent/undent the cursorLine
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   193
	].
609
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   194
	line1 notNil ifTrue:[
370
9aeb341c2dac if no selection, indent/undent the cursorLine
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   195
	    line1 to:line2-1 do:[:lineNr |
292
aab8f8feb824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 290
diff changeset
   196
		|line|
aab8f8feb824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 290
diff changeset
   197
aab8f8feb824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 290
diff changeset
   198
		line := self listAt:lineNr.
aab8f8feb824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 290
diff changeset
   199
		line notNil ifTrue:[
aab8f8feb824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 290
diff changeset
   200
		    line notEmpty ifTrue:[
aab8f8feb824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 290
diff changeset
   201
			line := '' '' , line.
aab8f8feb824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 290
diff changeset
   202
			self withoutRedrawAt:lineNr put:line.
aab8f8feb824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 290
diff changeset
   203
			self invalidateLine:lineNr.
aab8f8feb824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 290
diff changeset
   204
		    ]
aab8f8feb824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 290
diff changeset
   205
		]
aab8f8feb824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 290
diff changeset
   206
	    ].
aab8f8feb824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 290
diff changeset
   207
	]
aab8f8feb824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 290
diff changeset
   208
	'.
aab8f8feb824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 290
diff changeset
   209
aab8f8feb824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 290
diff changeset
   210
"/
aab8f8feb824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 290
diff changeset
   211
"/ macro to undent by 1
aab8f8feb824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 290
diff changeset
   212
"/
460
b0b146033ca1 macro names
Claus Gittinger <cg@exept.de>
parents: 459
diff changeset
   213
macros at:#UndentBy1 put:'
609
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   214
	"undent selected line-range
292
aab8f8feb824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 290
diff changeset
   215
	 by 1 space (i.e. to the left)"
aab8f8feb824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 290
diff changeset
   216
370
9aeb341c2dac if no selection, indent/undent the cursorLine
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   217
	|line1 line2|
9aeb341c2dac if no selection, indent/undent the cursorLine
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   218
9aeb341c2dac if no selection, indent/undent the cursorLine
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   219
	line1 := self selectionStartLine.
9aeb341c2dac if no selection, indent/undent the cursorLine
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   220
	line2 := self selectionEndLine.
9aeb341c2dac if no selection, indent/undent the cursorLine
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   221
	line1 isNil ifTrue:[
9aeb341c2dac if no selection, indent/undent the cursorLine
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   222
	    line1 := self perform:#cursorLine ifNotUnderstood:nil.
9aeb341c2dac if no selection, indent/undent the cursorLine
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   223
	    line1 notNil ifTrue:[
9aeb341c2dac if no selection, indent/undent the cursorLine
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   224
		line2 := line1+1
9aeb341c2dac if no selection, indent/undent the cursorLine
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   225
	    ]
9aeb341c2dac if no selection, indent/undent the cursorLine
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   226
	].
609
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   227
	line1 notNil ifTrue:[
370
9aeb341c2dac if no selection, indent/undent the cursorLine
Claus Gittinger <cg@exept.de>
parents: 356
diff changeset
   228
	    line1 to:line2-1 do:[:lineNr |
292
aab8f8feb824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 290
diff changeset
   229
		|line|
aab8f8feb824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 290
diff changeset
   230
aab8f8feb824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 290
diff changeset
   231
		line := self listAt:lineNr.
aab8f8feb824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 290
diff changeset
   232
		line notNil ifTrue:[
aab8f8feb824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 290
diff changeset
   233
		    line notEmpty ifTrue:[
aab8f8feb824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 290
diff changeset
   234
			(line startsWith:'' '') ifTrue:[
aab8f8feb824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 290
diff changeset
   235
			    line := line copyFrom:2.
aab8f8feb824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 290
diff changeset
   236
			    self withoutRedrawAt:lineNr put:line.
aab8f8feb824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 290
diff changeset
   237
			    self invalidateLine:lineNr.
aab8f8feb824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 290
diff changeset
   238
			]
aab8f8feb824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 290
diff changeset
   239
		    ]
aab8f8feb824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 290
diff changeset
   240
		]
aab8f8feb824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 290
diff changeset
   241
	    ].
aab8f8feb824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 290
diff changeset
   242
	]
aab8f8feb824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 290
diff changeset
   243
	'.
457
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   244
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   245
"/
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   246
"/ macro to convert selection to lowercase
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   247
"/
460
b0b146033ca1 macro names
Claus Gittinger <cg@exept.de>
parents: 459
diff changeset
   248
macros at:#ConvertSelectionToLowercase put:'
457
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   249
	"to-lower selected text"
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   250
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   251
	|line1 line2|
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   252
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   253
	line1 := self selectionStartLine.
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   254
	line2 := self selectionEndLine.
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   255
	line1 isNil ifTrue:[
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   256
	    line1 := self perform:#cursorLine ifNotUnderstood:nil.
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   257
	    line1 notNil ifTrue:[
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   258
		line2 := line1
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   259
	    ]
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   260
	].
609
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   261
	line1 notNil ifTrue:[
457
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   262
	    line1 to:line2 do:[:lineNr |
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   263
		|line col1 col2|
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   264
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   265
		line := self listAt:lineNr.
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   266
		line size > 0 ifTrue:[
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   267
		    lineNr == line1 ifTrue:[
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   268
			col1 := selectionStartCol.
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   269
		    ] ifFalse:[
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   270
			col1 := 1.
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   271
		    ].
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   272
		    lineNr == line2 ifTrue:[
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   273
			col2 := selectionEndCol.
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   274
		    ] ifFalse:[
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   275
			col2 := (self listAt:lineNr) size.
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   276
		    ].
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   277
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   278
		    col1 to:col2 do:[:col |
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   279
			|ch|
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   280
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   281
			ch := line at:col.
586
f0bfb532ce7d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 564
diff changeset
   282
			line at:col put:ch asLowercase.
457
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   283
		    ].
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   284
		    self withoutRedrawAt:lineNr put:line.
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   285
		    self invalidateLine:lineNr.
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   286
		].
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   287
	    ].
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   288
	]
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   289
	'.
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   290
548
6daf7f816f04 F6 is now: convert selection to uppercase-first words. (was uppercase)
Claus Gittinger <cg@exept.de>
parents: 547
diff changeset
   291
"/
586
f0bfb532ce7d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 564
diff changeset
   292
"/ macro to convert selection to uppercaseFirst words
548
6daf7f816f04 F6 is now: convert selection to uppercase-first words. (was uppercase)
Claus Gittinger <cg@exept.de>
parents: 547
diff changeset
   293
"/
586
f0bfb532ce7d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 564
diff changeset
   294
macros at:#ConvertSelectionToUppercaseFirst put:'
548
6daf7f816f04 F6 is now: convert selection to uppercase-first words. (was uppercase)
Claus Gittinger <cg@exept.de>
parents: 547
diff changeset
   295
	"to-lower selected text"
6daf7f816f04 F6 is now: convert selection to uppercase-first words. (was uppercase)
Claus Gittinger <cg@exept.de>
parents: 547
diff changeset
   296
6daf7f816f04 F6 is now: convert selection to uppercase-first words. (was uppercase)
Claus Gittinger <cg@exept.de>
parents: 547
diff changeset
   297
	|line1 line2|
6daf7f816f04 F6 is now: convert selection to uppercase-first words. (was uppercase)
Claus Gittinger <cg@exept.de>
parents: 547
diff changeset
   298
6daf7f816f04 F6 is now: convert selection to uppercase-first words. (was uppercase)
Claus Gittinger <cg@exept.de>
parents: 547
diff changeset
   299
	line1 := self selectionStartLine.
6daf7f816f04 F6 is now: convert selection to uppercase-first words. (was uppercase)
Claus Gittinger <cg@exept.de>
parents: 547
diff changeset
   300
	line2 := self selectionEndLine.
6daf7f816f04 F6 is now: convert selection to uppercase-first words. (was uppercase)
Claus Gittinger <cg@exept.de>
parents: 547
diff changeset
   301
	line1 isNil ifTrue:[
6daf7f816f04 F6 is now: convert selection to uppercase-first words. (was uppercase)
Claus Gittinger <cg@exept.de>
parents: 547
diff changeset
   302
	    line1 := self perform:#cursorLine ifNotUnderstood:nil.
6daf7f816f04 F6 is now: convert selection to uppercase-first words. (was uppercase)
Claus Gittinger <cg@exept.de>
parents: 547
diff changeset
   303
	    line1 notNil ifTrue:[
6daf7f816f04 F6 is now: convert selection to uppercase-first words. (was uppercase)
Claus Gittinger <cg@exept.de>
parents: 547
diff changeset
   304
		line2 := line1
6daf7f816f04 F6 is now: convert selection to uppercase-first words. (was uppercase)
Claus Gittinger <cg@exept.de>
parents: 547
diff changeset
   305
	    ]
6daf7f816f04 F6 is now: convert selection to uppercase-first words. (was uppercase)
Claus Gittinger <cg@exept.de>
parents: 547
diff changeset
   306
	].
609
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   307
	line1 notNil ifTrue:[
548
6daf7f816f04 F6 is now: convert selection to uppercase-first words. (was uppercase)
Claus Gittinger <cg@exept.de>
parents: 547
diff changeset
   308
	    line1 to:line2 do:[:lineNr |
6daf7f816f04 F6 is now: convert selection to uppercase-first words. (was uppercase)
Claus Gittinger <cg@exept.de>
parents: 547
diff changeset
   309
		|line col1 col2 state|
6daf7f816f04 F6 is now: convert selection to uppercase-first words. (was uppercase)
Claus Gittinger <cg@exept.de>
parents: 547
diff changeset
   310
6daf7f816f04 F6 is now: convert selection to uppercase-first words. (was uppercase)
Claus Gittinger <cg@exept.de>
parents: 547
diff changeset
   311
		line := self listAt:lineNr.
6daf7f816f04 F6 is now: convert selection to uppercase-first words. (was uppercase)
Claus Gittinger <cg@exept.de>
parents: 547
diff changeset
   312
		line size > 0 ifTrue:[
6daf7f816f04 F6 is now: convert selection to uppercase-first words. (was uppercase)
Claus Gittinger <cg@exept.de>
parents: 547
diff changeset
   313
		    lineNr == line1 ifTrue:[
6daf7f816f04 F6 is now: convert selection to uppercase-first words. (was uppercase)
Claus Gittinger <cg@exept.de>
parents: 547
diff changeset
   314
			col1 := selectionStartCol.
6daf7f816f04 F6 is now: convert selection to uppercase-first words. (was uppercase)
Claus Gittinger <cg@exept.de>
parents: 547
diff changeset
   315
		    ] ifFalse:[
6daf7f816f04 F6 is now: convert selection to uppercase-first words. (was uppercase)
Claus Gittinger <cg@exept.de>
parents: 547
diff changeset
   316
			col1 := 1.
6daf7f816f04 F6 is now: convert selection to uppercase-first words. (was uppercase)
Claus Gittinger <cg@exept.de>
parents: 547
diff changeset
   317
		    ].
6daf7f816f04 F6 is now: convert selection to uppercase-first words. (was uppercase)
Claus Gittinger <cg@exept.de>
parents: 547
diff changeset
   318
		    lineNr == line2 ifTrue:[
6daf7f816f04 F6 is now: convert selection to uppercase-first words. (was uppercase)
Claus Gittinger <cg@exept.de>
parents: 547
diff changeset
   319
			col2 := selectionEndCol.
6daf7f816f04 F6 is now: convert selection to uppercase-first words. (was uppercase)
Claus Gittinger <cg@exept.de>
parents: 547
diff changeset
   320
		    ] ifFalse:[
6daf7f816f04 F6 is now: convert selection to uppercase-first words. (was uppercase)
Claus Gittinger <cg@exept.de>
parents: 547
diff changeset
   321
			col2 := (self listAt:lineNr) size.
6daf7f816f04 F6 is now: convert selection to uppercase-first words. (was uppercase)
Claus Gittinger <cg@exept.de>
parents: 547
diff changeset
   322
		    ].
6daf7f816f04 F6 is now: convert selection to uppercase-first words. (was uppercase)
Claus Gittinger <cg@exept.de>
parents: 547
diff changeset
   323
6daf7f816f04 F6 is now: convert selection to uppercase-first words. (was uppercase)
Claus Gittinger <cg@exept.de>
parents: 547
diff changeset
   324
		    state := #first.
6daf7f816f04 F6 is now: convert selection to uppercase-first words. (was uppercase)
Claus Gittinger <cg@exept.de>
parents: 547
diff changeset
   325
		    col1 to:col2 do:[:col |
6daf7f816f04 F6 is now: convert selection to uppercase-first words. (was uppercase)
Claus Gittinger <cg@exept.de>
parents: 547
diff changeset
   326
			|ch|
6daf7f816f04 F6 is now: convert selection to uppercase-first words. (was uppercase)
Claus Gittinger <cg@exept.de>
parents: 547
diff changeset
   327
6daf7f816f04 F6 is now: convert selection to uppercase-first words. (was uppercase)
Claus Gittinger <cg@exept.de>
parents: 547
diff changeset
   328
			ch := line at:col.
6daf7f816f04 F6 is now: convert selection to uppercase-first words. (was uppercase)
Claus Gittinger <cg@exept.de>
parents: 547
diff changeset
   329
			ch isSeparator ifFalse:[
6daf7f816f04 F6 is now: convert selection to uppercase-first words. (was uppercase)
Claus Gittinger <cg@exept.de>
parents: 547
diff changeset
   330
			    state == #first ifTrue:[
6daf7f816f04 F6 is now: convert selection to uppercase-first words. (was uppercase)
Claus Gittinger <cg@exept.de>
parents: 547
diff changeset
   331
				line at:col put:ch asUppercase.
6daf7f816f04 F6 is now: convert selection to uppercase-first words. (was uppercase)
Claus Gittinger <cg@exept.de>
parents: 547
diff changeset
   332
				state := #skipRest
6daf7f816f04 F6 is now: convert selection to uppercase-first words. (was uppercase)
Claus Gittinger <cg@exept.de>
parents: 547
diff changeset
   333
			    ]
6daf7f816f04 F6 is now: convert selection to uppercase-first words. (was uppercase)
Claus Gittinger <cg@exept.de>
parents: 547
diff changeset
   334
			] ifTrue:[
6daf7f816f04 F6 is now: convert selection to uppercase-first words. (was uppercase)
Claus Gittinger <cg@exept.de>
parents: 547
diff changeset
   335
			    state := #first
6daf7f816f04 F6 is now: convert selection to uppercase-first words. (was uppercase)
Claus Gittinger <cg@exept.de>
parents: 547
diff changeset
   336
			]
6daf7f816f04 F6 is now: convert selection to uppercase-first words. (was uppercase)
Claus Gittinger <cg@exept.de>
parents: 547
diff changeset
   337
		    ].
6daf7f816f04 F6 is now: convert selection to uppercase-first words. (was uppercase)
Claus Gittinger <cg@exept.de>
parents: 547
diff changeset
   338
		    self withoutRedrawAt:lineNr put:line.
6daf7f816f04 F6 is now: convert selection to uppercase-first words. (was uppercase)
Claus Gittinger <cg@exept.de>
parents: 547
diff changeset
   339
		    self invalidateLine:lineNr.
6daf7f816f04 F6 is now: convert selection to uppercase-first words. (was uppercase)
Claus Gittinger <cg@exept.de>
parents: 547
diff changeset
   340
		].
6daf7f816f04 F6 is now: convert selection to uppercase-first words. (was uppercase)
Claus Gittinger <cg@exept.de>
parents: 547
diff changeset
   341
	    ].
6daf7f816f04 F6 is now: convert selection to uppercase-first words. (was uppercase)
Claus Gittinger <cg@exept.de>
parents: 547
diff changeset
   342
	]
6daf7f816f04 F6 is now: convert selection to uppercase-first words. (was uppercase)
Claus Gittinger <cg@exept.de>
parents: 547
diff changeset
   343
	'.
6daf7f816f04 F6 is now: convert selection to uppercase-first words. (was uppercase)
Claus Gittinger <cg@exept.de>
parents: 547
diff changeset
   344
460
b0b146033ca1 macro names
Claus Gittinger <cg@exept.de>
parents: 459
diff changeset
   345
macros at:#ConvertSelectionToUppercase put:'
457
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   346
	"to-lower selected text"
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   347
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   348
	|line1 line2|
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   349
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   350
	line1 := self selectionStartLine.
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   351
	line2 := self selectionEndLine.
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   352
	line1 isNil ifTrue:[
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   353
	    line1 := self perform:#cursorLine ifNotUnderstood:nil.
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   354
	    line1 notNil ifTrue:[
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   355
		line2 := line1
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   356
	    ]
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   357
	].
609
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   358
	line1 notNil ifTrue:[
457
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   359
	    line1 to:line2 do:[:lineNr |
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   360
		|line col1 col2|
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   361
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   362
		line := self listAt:lineNr.
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   363
		line size > 0 ifTrue:[
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   364
		    lineNr == line1 ifTrue:[
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   365
			col1 := selectionStartCol.
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   366
		    ] ifFalse:[
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   367
			col1 := 1.
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   368
		    ].
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   369
		    lineNr == line2 ifTrue:[
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   370
			col2 := selectionEndCol.
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   371
		    ] ifFalse:[
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   372
			col2 := (self listAt:lineNr) size.
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   373
		    ].
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   374
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   375
		    col1 to:col2 do:[:col |
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   376
			|ch|
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   377
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   378
			ch := line at:col.
586
f0bfb532ce7d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 564
diff changeset
   379
			line at:col put:ch asUppercase.
457
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   380
		    ].
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   381
		    self withoutRedrawAt:lineNr put:line.
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   382
		    self invalidateLine:lineNr.
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   383
		].
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   384
	    ].
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   385
	]
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   386
	'.
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   387
86
7cb0bbfd6431 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 76
diff changeset
   388
!
7cb0bbfd6431 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 76
diff changeset
   389
92
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   390
"*
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   391
 * key bindings common to all display types
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   392
 * use event monitor, to see what the Xserver sends us;
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   393
 * put display-specific stuff into a d_hostName.rc file.
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   394
 *"
402
f8bad6cf5abc *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 399
diff changeset
   395
|map screen|
86
7cb0bbfd6431 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 76
diff changeset
   396
402
f8bad6cf5abc *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 399
diff changeset
   397
screen := Screen current.
f8bad6cf5abc *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 399
diff changeset
   398
map := screen keyboardMap.
86
7cb0bbfd6431 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 76
diff changeset
   399
402
f8bad6cf5abc *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 399
diff changeset
   400
(screen serverVendor startsWith:'DECWINDOWS') ifTrue:[
252
5d4a68556e45 ESC & Compose keys on DEC keyboards
Claus Gittinger <cg@exept.de>
parents: 209
diff changeset
   401
    "/ DEC has messed up the ESC key completely.
5d4a68556e45 ESC & Compose keys on DEC keyboards
Claus Gittinger <cg@exept.de>
parents: 209
diff changeset
   402
    "/ map ALT-` onto ESC for our convenience.
5d4a68556e45 ESC & Compose keys on DEC keyboards
Claus Gittinger <cg@exept.de>
parents: 209
diff changeset
   403
    "/
5d4a68556e45 ESC & Compose keys on DEC keyboards
Claus Gittinger <cg@exept.de>
parents: 209
diff changeset
   404
    "/ also, the right compose key (comes in as 'AltMulti_key' or
5d4a68556e45 ESC & Compose keys on DEC keyboards
Claus Gittinger <cg@exept.de>
parents: 209
diff changeset
   405
    "/ 'CtrlMulti_key' depending on the keyboard) is mapped
5d4a68556e45 ESC & Compose keys on DEC keyboards
Claus Gittinger <cg@exept.de>
parents: 209
diff changeset
   406
    "/ to 'Compose'.
5d4a68556e45 ESC & Compose keys on DEC keyboards
Claus Gittinger <cg@exept.de>
parents: 209
diff changeset
   407
    map bindValue:#Escape  to:#'Cmd`'.
5d4a68556e45 ESC & Compose keys on DEC keyboards
Claus Gittinger <cg@exept.de>
parents: 209
diff changeset
   408
    map bindValue:#Compose to:#'AltMulti_key'.    "/ the right compose key
5d4a68556e45 ESC & Compose keys on DEC keyboards
Claus Gittinger <cg@exept.de>
parents: 209
diff changeset
   409
5d4a68556e45 ESC & Compose keys on DEC keyboards
Claus Gittinger <cg@exept.de>
parents: 209
diff changeset
   410
    map bindValue:#Return  to:#'KP_Enter'.        "/ the keypads return key
609
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   411
].
252
5d4a68556e45 ESC & Compose keys on DEC keyboards
Claus Gittinger <cg@exept.de>
parents: 209
diff changeset
   412
609
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   413
"/ map bindValue:#'Hardcopy'  to:#'Super_R'.
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   414
map bindValue:#'Alt'  to:#'Super_L'.
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   415
map bindValue:#'Alt'  to:#'Hyper_R'.
299
2dbaa24f1a70 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 292
diff changeset
   416
92
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   417
map bindValue:#UserInterrupt  to:#Ctrlc.    "interrupt window process"
290
611e11479999 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 288
diff changeset
   418
map bindValue:#UserAbort      to:#Ctrly.    "abort window process, but no debugger"
92
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   419
map bindValue:#FlushInput     to:#CtrlX.    "flush typeahead input"
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   420
map bindValue:#DestroyView    to:#CmdCtrlX. "to destroy dead views"
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   421
map bindValue:#DestroyTopView to:#CmdCtrlx. "to destroy dead views"
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   422
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   423
map bindValue:#DoIt       to:#Cmdd.         "i.e. Cmd-d / Alt-d (sometimes Meta-d)"
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   424
map bindValue:#InspectIt  to:#Cmdi.         "evaluate & inspect result"
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   425
map bindValue:#PrintIt    to:#Cmdp.         "evaluate and paste result"
455
1bc57270b5d7 added Cmd-Shift-B as BrowseIt shortCut
Claus Gittinger <cg@exept.de>
parents: 442
diff changeset
   426
map bindValue:#BrowseIt   to:#CmdB.
496
160569d1e388 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 495
diff changeset
   427
map bindValue:#ImplementorsOfIt   to:#CmdI.
92
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   428
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   429
map bindValue:#Copy       to:#Cmdc.         "copy selection to buffer"
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   430
map bindValue:#Cut        to:#Cmdx.         "cut selection into buffer"
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   431
map bindValue:#Paste      to:#Cmdv.         "paste buffer or external selection"
455
1bc57270b5d7 added Cmd-Shift-B as BrowseIt shortCut
Claus Gittinger <cg@exept.de>
parents: 442
diff changeset
   432
"/map bindValue:#Cut        to:#CtrlDelete.   "paste buffer or external selection"
1bc57270b5d7 added Cmd-Shift-B as BrowseIt shortCut
Claus Gittinger <cg@exept.de>
parents: 442
diff changeset
   433
"/map bindValue:#Paste      to:#CtrlInsert.   "paste buffer or external selection"
92
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   434
map bindValue:#Replace    to:#Cmdr.         "same as paste"
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   435
map bindValue:#Find       to:#Cmds.         "open searchbox"
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   436
map bindValue:#FindNext   to:#Cmdf.         "search fwd for last searchpattern or selection"
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   437
map bindValue:#FindPrev   to:#Cmdb.         "search bwd for last searchpattern or selection"
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   438
map bindValue:#SelectAll  to:#CmdA.         "that is Alt-shift-a"
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   439
map bindValue:#GotoLine   to:#Cmdg.
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   440
map bindValue:#SelectWord to:#Cmdw.         "select word under cursor"
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   441
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   442
map bindValue:#Accept     to:#Cmda.
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   443
map bindValue:#Explain    to:#Cmde.
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   444
map bindValue:#Explain    to:#Cmdh.
547
1e6d4bc65192 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 497
diff changeset
   445
map bindValue:#Format     to:#CmdF.         "that is Alt-shift-F"
554
db2eb5f17838 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 550
diff changeset
   446
"/ map bindValue:#Format     to:#CtrlF.        "that is Ctrl-shift-F"
92
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   447
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   448
map bindValue:#DeleteLine to:#Ctrlx.
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   449
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   450
map bindValue:#NextPage     to:#Next.    "typically labelled PageDown on keyboard"
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   451
map bindValue:#PreviousPage to:#Prior.   "typically labelled PageUp on keyboard"
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   452
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   453
map bindValue:#PreviousPage to:#Ctrlb.   "vi behavior"
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   454
map bindValue:#NextPage     to:#Ctrlf.   "vi behavior"
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   455
map bindValue:#HalfPageUp   to:#Ctrlu.
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   456
map bindValue:#HalfPageDown to:#Ctrld.
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   457
442
d581ec53058f Home & End keyboard setting
Claus Gittinger <cg@exept.de>
parents: 440
diff changeset
   458
"/ old setting:
d581ec53058f Home & End keyboard setting
Claus Gittinger <cg@exept.de>
parents: 440
diff changeset
   459
"/ map bindValue:#BeginOfText  to:#Home.    "some prefer to bind #BeginOfLine to #Home"
d581ec53058f Home & End keyboard setting
Claus Gittinger <cg@exept.de>
parents: 440
diff changeset
   460
"/ map bindValue:#EndOfText    to:#End.     "some prefer to bind #EndOfLine to #End"
d581ec53058f Home & End keyboard setting
Claus Gittinger <cg@exept.de>
parents: 440
diff changeset
   461
"/
d581ec53058f Home & End keyboard setting
Claus Gittinger <cg@exept.de>
parents: 440
diff changeset
   462
"/ new setting:
609
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   463
map bindValue:#BeginOfLine  to:#Home.
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   464
map bindValue:#EndOfLine    to:#End.
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   465
map bindValue:#BeginOfText  to:#CtrlHome.
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   466
map bindValue:#EndOfText    to:#CtrlEnd.
442
d581ec53058f Home & End keyboard setting
Claus Gittinger <cg@exept.de>
parents: 440
diff changeset
   467
92
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   468
map bindValue:#BeginOfLine  to:#Ctrla.
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   469
map bindValue:#EndOfLine    to:#Ctrle.
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   470
map bindValue:#NextWord     to:#Ctrlw.
609
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   471
map bindValue:#NextWord     to:#CtrlCursorRight.
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   472
map bindValue:#PreviousWord to:#CtrlCursorLeft.
92
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   473
609
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   474
map bindValue:#ScrollUp     to:#CtrlCursorUp.
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   475
map bindValue:#ScrollDown   to:#CtrlCursorDown.
92
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   476
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   477
map bindValue:#SearchMatchingParent  to:#Ctrlm.
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   478
map bindValue:#SelectMatchingParents to:#Cmdm.
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   479
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   480
map bindValue:#SelectToEnd           to:#CtrlE.   "that is ctrl-shift-e"
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   481
map bindValue:#SelectFromBeginning   to:#CtrlA.   "that is ctrl-shift-a"
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   482
map bindValue:#ExpandSelectionByLine to:#Ctrll.   "try multiple Ctrl-l's ..."
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   483
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   484
"Notice:
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   485
  Cmd-CursorLeft/Right and Alt-CursorLeft/Right
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   486
  are also used by some winmdowmanagers (fvwm)
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   487
  if this is the case on your system, either
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   488
  change the following to use different keys,
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   489
  or change the windowmanagers configuration file
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   490
  (usr/lib/X11/xxxwm/*rc).
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   491
  The above is the reason that the following defines Ctrl-xxx
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   492
  as an alternative (mwm in the INDY also uses the alt-sequences)
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   493
"
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   494
map bindValue:#FocusNext     to:#CmdCursorRight.   "experimental"
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   495
map bindValue:#FocusPrevious to:#CmdCursorLeft.    "experimental"
550
1ab596a68079 learn is now CmdL
Claus Gittinger <cg@exept.de>
parents: 548
diff changeset
   496
map bindValue:#FocusNext     to:#CmdCursorDown.    "experimental"
1ab596a68079 learn is now CmdL
Claus Gittinger <cg@exept.de>
parents: 548
diff changeset
   497
map bindValue:#FocusPrevious to:#CmdCursorUp.      "experimental"
1ab596a68079 learn is now CmdL
Claus Gittinger <cg@exept.de>
parents: 548
diff changeset
   498
92
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   499
map bindValue:#FocusNext     to:#AltCursorRight.   "experimental"
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   500
map bindValue:#FocusPrevious to:#AltCursorLeft.    "experimental"
255
ccb6df643f77 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 252
diff changeset
   501
map bindValue:#FocusNext     to:#AltCursorDown.    "experimental"
ccb6df643f77 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 252
diff changeset
   502
map bindValue:#FocusPrevious to:#AltCursorUp.      "experimental"
92
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   503
"/ map bindValue:#FocusNext     to:#CtrlCursorRight.  "experimental"
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   504
"/ map bindValue:#FocusPrevious to:#CtrlCursorLeft.   "experimental"
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   505
564
8a0ef331f92a Backtab / NonInsertingTab
ca
parents: 554
diff changeset
   506
609
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   507
map bindValue:#NonInsertingTab  to:#ShiftTab.
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   508
"/ map bindValue:#BackTab          to:#ShiftTab.
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   509
map bindValue:#BackTab          to:#CtrlTab.
564
8a0ef331f92a Backtab / NonInsertingTab
ca
parents: 554
diff changeset
   510
map bindValue:#NonInsertingTab  to:#'ISO_Left_Tab'.
8a0ef331f92a Backtab / NonInsertingTab
ca
parents: 554
diff changeset
   511
"/ map bindValue:#ToggleTabs       to:#CtrlTab.
8a0ef331f92a Backtab / NonInsertingTab
ca
parents: 554
diff changeset
   512
8a0ef331f92a Backtab / NonInsertingTab
ca
parents: 554
diff changeset
   513
"/ map bindValue:#FocusNext     to:#CtrlTab.          "experimental"
138
499198c9e957 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 122
diff changeset
   514
map bindValue:#FocusNext     to:#CmdTab.           "experimental"
564
8a0ef331f92a Backtab / NonInsertingTab
ca
parents: 554
diff changeset
   515
"/ map bindValue:#FocusPrevious to:#'ISO_Left_Tab'.
8a0ef331f92a Backtab / NonInsertingTab
ca
parents: 554
diff changeset
   516
map bindValue:#FocusPrevious to:#'CmdISO_Left_Tab'.
415
2087d93fb4b1 *** empty log message ***
ca
parents: 403
diff changeset
   517
"/ map bindValue:#Tab           to:#'ISO_Left_Tab'.
609
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   518
map bindValue:#Menu          to:#Cmdz.
92
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   519
122
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   520
"*
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   521
 * ISO LATIN 1 symbolic characters - map to iso8859 values
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   522
 * not all Xservers send those correctly.
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   523
 * As a fall back, dieresis mappings using Alt-key sequences are found at
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   524
 * the end.
92
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   525
 *"
122
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   526
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   527
#(
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   528
	"/ dieresis characters
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   529
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   530
	Udiaeresis      16rDC
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   531
	Adiaeresis      16rC4
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   532
	Odiaeresis      16rD6
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   533
	udiaeresis      16rFC
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   534
	adiaeresis      16rE4
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   535
	odiaeresis      16rF6
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   536
	ydiaeresis      16rFF
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   537
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   538
	"/ grave
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   539
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   540
	Agrave          16rC0
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   541
	Egrave          16rC8
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   542
	Igrave          16rCC
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   543
	Ograve          16rCC
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   544
	Ugrave          16rD9
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   545
	agrave          16rE0
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   546
	egrave          16rE8
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   547
	igrave          16rEC
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   548
	ograve          16rF2
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   549
	ugrave          16rF9
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   550
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   551
	"/ acute
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   552
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   553
	Aacute          16rC1
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   554
	Eacute          16rC9
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   555
	Iacute          16rCD
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   556
	Oacute          16rD3
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   557
	Uacute          16rDA
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   558
	Yacute          16rDD
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   559
	aacute          16rE1
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   560
	eacute          16rE9
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   561
	iacute          16rED
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   562
	oacute          16rF3
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   563
	uacute          16rFA
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   564
	yacute          16rFD
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   565
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   566
	"/ circumflex
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   567
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   568
	Acircumflex     16rC2
609
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   569
	Ecircumflex     16rCA
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   570
	Icircumflex     16rCE
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   571
	Ocircumflex     16rD4
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   572
	Ucircumflex     16rDB
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   573
	acircumflex     16rE2
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   574
	ecircumflex     16rEA
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   575
	icircumflex     16rEE
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   576
	ocircumflex     16rF4
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   577
	ucircumflex     16rFB
122
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   578
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   579
	"/ tilde
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   580
609
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   581
	Atilde          16rC3
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   582
	Ntilde          16rD1
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   583
	atilde          16rE3
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   584
	ntilde          16rF1
122
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   585
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   586
	"/ ring
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   587
609
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   588
	Aring           16rC4
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   589
	aring           16rE4
122
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   590
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   591
	"/ ligatures
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   592
609
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   593
	AE              16rC5
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   594
	ae              16rE5
122
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   595
	ssharp          16rDF
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   596
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   597
	"/ cedilla
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   598
609
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   599
	Ccedilla        16rC7
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   600
	ccedilla        16rE7
122
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   601
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   602
	"/ slashed
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   603
609
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   604
	Ooblique        16rD8
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   605
	oslash          16rF8
122
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   606
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   607
	"/ misc (if on your keyboard)
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   608
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   609
	Eth             16rD0     "/ some old servers still use this
609
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   610
	ETH             16rD0
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   611
	eth             16rF0
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   612
	multiply        16rD7
122
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   613
	Thorn           16rDE   "/ some old servers still use this
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   614
	THORN           16rDE   "/ some old servers still use this
609
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   615
	division        16rF7
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   616
	thorn           16rFE
122
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   617
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   618
	section         16rA7
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   619
	degree          16rB0
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   620
	twosuperior     16rB2
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   621
	threesuperior   16rB3
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   622
	mu              16rB5
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   623
) pairWiseDo:[:symbolic :numeric |
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   624
	map bindValue:(Character value:numeric) to:symbolic.
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   625
].
92
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   626
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   627
"*
122
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   628
 * need more here (katakana, arabic, cyrillic, greek etc.)
92
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   629
 *"
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   630
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   631
"*
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   632
 * numeric keypad - binding to normal numeric keys
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   633
 *"
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   634
"/ map bindValue:$0 to:#'KP_Insert'.
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   635
"/ map bindValue:$1 to:#'KP_End'.
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   636
"/ map bindValue:$2 to:#'KP_Down'.
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   637
"/ map bindValue:$3 to:#'KP_Next'.
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   638
"/ map bindValue:$4 to:#'KP_Left'.
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   639
"/ map bindValue:$5 to:#'KP_Begin'.
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   640
"/ map bindValue:$6 to:#'KP_Right'.
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   641
"/ map bindValue:$7 to:#'KP_Home'.
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   642
"/ map bindValue:$8 to:#'KP_Up'.
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   643
"/ map bindValue:$9 to:#'KP_Prior'.
380
fac7090c0ff7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 374
diff changeset
   644
map bindValue:#Return to:#'KP_Enter'.
fac7090c0ff7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 374
diff changeset
   645
map bindValue:#Delete to:#'KP_Delete'.
92
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   646
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   647
86
7cb0bbfd6431 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 76
diff changeset
   648
"/ remove these lines, if your keyboard has a COMPOSE-key.
7cb0bbfd6431 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 76
diff changeset
   649
"/ None of our Xdisplays here has one - so we simulate it using CTRL-R ...
609
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   650
"/ which on some (of our) servers comes pretranslated as Multi_key,
327
df575037165e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 299
diff changeset
   651
"/ CtrlMulti_key or even Mode_switch.
86
7cb0bbfd6431 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 76
diff changeset
   652
327
df575037165e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 299
diff changeset
   653
map bindValue:#Compose     to:#'Control_R'.       "/ the right compose key
455
1bc57270b5d7 added Cmd-Shift-B as BrowseIt shortCut
Claus Gittinger <cg@exept.de>
parents: 442
diff changeset
   654
"/ map bindValue:#Compose     to:#'Control_L'.       "/ the right compose key
327
df575037165e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 299
diff changeset
   655
map bindValue:#Compose     to:#'Multi_key'.       "/ the right compose key
df575037165e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 299
diff changeset
   656
map bindValue:#Compose     to:#'CtrlMulti_key'.   "/ the right compose key
609
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   657
"/ map bindValue:#Compose     to:#'Mode_switch'.
86
7cb0bbfd6431 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 76
diff changeset
   658
7cb0bbfd6431 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 76
diff changeset
   659
7cb0bbfd6431 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 76
diff changeset
   660
"/ a kludge: some Xservers send #Delete for both the backspace
7cb0bbfd6431 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 76
diff changeset
   661
"/ and the Delete key. In this case, we use the Backspace function
7cb0bbfd6431 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 76
diff changeset
   662
"/ for both keys. If your Xserver does not do this (it should not)
7cb0bbfd6431 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 76
diff changeset
   663
"/ remove or comment the following 'bindValue:#BackSpace'-line:
7cb0bbfd6431 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 76
diff changeset
   664
"/
7cb0bbfd6431 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 76
diff changeset
   665
356
4275f251cb37 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 347
diff changeset
   666
"/ map bindValue:#BackSpace     to:#Delete.
86
7cb0bbfd6431 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 76
diff changeset
   667
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   668
"/
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   669
"/ my personal preferences - comment it, if you do not like them
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   670
"/ bind function and other keys as:
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   671
"/
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   672
"/ F1            - again
484
e0456a7071c4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 481
diff changeset
   673
"/ F2            - completion
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   674
"/ F3            - comment-it
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   675
"/ F4            - uncomment-it
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   676
"/ F5            - paste shell output
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   677
"/ F9            - undent by 4
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   678
"/ F10           - indent by 4
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   679
"/ Control-R     - Compose key
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   680
"/ Break         - UserInterrupt
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   681
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   682
"/
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   683
"/ convenient functions on the keyboard
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   684
"/
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   685
map bindValue:#Again         to:#F1.
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   686
map bindValue:#UserInterrupt to:#Break.
89
fffab00793be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 88
diff changeset
   687
"/ map bindValue:#PrintIt       to:#Print.      "/ called PrintScreen on most keyboards
fffab00793be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 88
diff changeset
   688
"/ map bindValue:#InspectIt     to:#Execute.    "/ called SysReq on most keyboards
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   689
88
95380a1bf862 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 86
diff changeset
   690
map bindValue:#SaveAs        to:#CmdS.
95380a1bf862 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 86
diff changeset
   691
481
e7ac8dea1db0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 460
diff changeset
   692
"/ xxxF5      -> macro ReplaceSelectionByUnixCommandsOutput (unix command output paste)
460
b0b146033ca1 macro names
Claus Gittinger <cg@exept.de>
parents: 459
diff changeset
   693
"/ CtrlTab -> macro ToggleTabs (toggle 4/8 tabs)
b0b146033ca1 macro names
Claus Gittinger <cg@exept.de>
parents: 459
diff changeset
   694
"/ F10     -> macro IndentBy4 (indent by 4)
b0b146033ca1 macro names
Claus Gittinger <cg@exept.de>
parents: 459
diff changeset
   695
"/ F9      -> macro UndentBy4 (undent by 4)
b0b146033ca1 macro names
Claus Gittinger <cg@exept.de>
parents: 459
diff changeset
   696
"/ F12     -> macro IndentBy1 (indent by 1)
b0b146033ca1 macro names
Claus Gittinger <cg@exept.de>
parents: 459
diff changeset
   697
"/ F11     -> macro UndentBy1 (undent by 1)
484
e0456a7071c4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 481
diff changeset
   698
"/ F2      -> completion
292
aab8f8feb824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 290
diff changeset
   699
"/ F3      -> commentSelection
aab8f8feb824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 290
diff changeset
   700
"/ F4      -> uncommentSelection
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   701
481
e7ac8dea1db0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 460
diff changeset
   702
"/ map bindValue:#ReplaceSelectionByUnixCommandsOutput  to:#F5.
484
e0456a7071c4 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 481
diff changeset
   703
map bindValue:#CodeCompletion                        to:#F2.
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   704
"/ map bindValue:#CmdF97 to:#F7.
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   705
"/ map bindValue:#CmdF96 to:#F6.
460
b0b146033ca1 macro names
Claus Gittinger <cg@exept.de>
parents: 459
diff changeset
   706
map bindValue:#IndentBy4 to:#F10.
b0b146033ca1 macro names
Claus Gittinger <cg@exept.de>
parents: 459
diff changeset
   707
map bindValue:#UndentBy4 to:#F9.
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   708
460
b0b146033ca1 macro names
Claus Gittinger <cg@exept.de>
parents: 459
diff changeset
   709
map bindValue:#IndentBy1 to:#F12.
b0b146033ca1 macro names
Claus Gittinger <cg@exept.de>
parents: 459
diff changeset
   710
map bindValue:#UndentBy1 to:#F11.
292
aab8f8feb824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 290
diff changeset
   711
548
6daf7f816f04 F6 is now: convert selection to uppercase-first words. (was uppercase)
Claus Gittinger <cg@exept.de>
parents: 547
diff changeset
   712
"/ map bindValue:#ConvertSelectionToLowercase to:#F6.
586
f0bfb532ce7d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 564
diff changeset
   713
map bindValue:#ConvertSelectionToLowercase to:#F6.
f0bfb532ce7d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 564
diff changeset
   714
map bindValue:#ConvertSelectionToUppercaseFirst to:#F7.
457
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   715
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   716
map bindValue:#CommentSelection to:#F3.
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   717
map bindValue:#UncommentSelection to:#F4.
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   718
550
1ab596a68079 learn is now CmdL
Claus Gittinger <cg@exept.de>
parents: 548
diff changeset
   719
map bindValue:#LearnKeyboardMacro to:#CmdL.
438
182b5f7c4fa7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 415
diff changeset
   720
map bindValue:#ExecuteKeyboardMacro to:#CmdM.
182b5f7c4fa7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 415
diff changeset
   721
481
e7ac8dea1db0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 460
diff changeset
   722
map bindValue:#CodeCompletion     to:#F2.
438
182b5f7c4fa7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 415
diff changeset
   723
609
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   724
"/ map bindValue:#PasteBlockEvaluationsOutput to:#CmdV.
487
6d6fbd3a4a46 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 484
diff changeset
   725
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   726
"/
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   727
"/ since some of my machines have german keyboards ;-)
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   728
"/ and I like to be able to edit my files on all machines,
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   729
"/ I need a translation in both ways.
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   730
"/ you'd normally not define things in both directions.
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   731
"/
609
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   732
"/ actually, these things belong into the servers modmap or
57
3e06b2840c9f structure & commentary
Claus Gittinger <cg@exept.de>
parents: 54
diff changeset
   733
"/ into a display specific d_<displayName>.rc ...
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   734
"/
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   735
"/ german national characters on a US keyboard:
140
30920131031d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 138
diff changeset
   736
"/ comment this, if you have a german keyboard.
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   737
"/
140
30920131031d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 138
diff changeset
   738
"/map bindValue:(Character value:16rFC) to:#'Cmd['.   "/ u dieresis
30920131031d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 138
diff changeset
   739
"/map bindValue:(Character value:16rE4) to:#'Cmd'''.  "/ a dieresis
30920131031d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 138
diff changeset
   740
"/map bindValue:(Character value:16rF6) to:#'Cmd;'.   "/ o dieresis
30920131031d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 138
diff changeset
   741
"/map bindValue:(Character value:16rDC) to:#'Cmd{'.   "/ U dieresis
30920131031d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 138
diff changeset
   742
"/map bindValue:(Character value:16rC4) to:#'Cmd"'.   "/ A dieresis
30920131031d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 138
diff changeset
   743
"/map bindValue:(Character value:16rD6) to:#'Cmd:'.   "/ O dieresis
30920131031d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 138
diff changeset
   744
"/map bindValue:(Character value:16rDF) to:#'Cmd-'.   "/ s-sharp
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   745
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   746
"/
122
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   747
"/ US characters on national keyboards:
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   748
"/ (on many national keyboards, the x-server does NOT correctly
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   749
"/  xlate characters .... on others, it does and you may remove/comment
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   750
"/  the following.)
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   751
"/
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   752
map bindValue:$[ to:#'Alt['.
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   753
map bindValue:$] to:#'Alt]'.
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   754
map bindValue:$| to:#'Alt|'.
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   755
map bindValue:${ to:#'Alt{'.
57
3e06b2840c9f structure & commentary
Claus Gittinger <cg@exept.de>
parents: 54
diff changeset
   756
map bindValue:$} to:#'Alt}'.
122
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   757
map bindValue:$\ to:#'Alt\'.
140
30920131031d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 138
diff changeset
   758
map bindValue:$~ to:#'Alt~'.
30920131031d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 138
diff changeset
   759
map bindValue:$@ to:#'Alt@'.
30920131031d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 138
diff changeset
   760
609
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   761
map bindValue:$[ to:#'Cmd['.
140
30920131031d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 138
diff changeset
   762
map bindValue:$] to:#'Cmd]'.
30920131031d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 138
diff changeset
   763
map bindValue:$| to:#'Cmd|'.
30920131031d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 138
diff changeset
   764
map bindValue:${ to:#'Cmd{'.
30920131031d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 138
diff changeset
   765
map bindValue:$} to:#'Cmd}'.
30920131031d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 138
diff changeset
   766
map bindValue:$\ to:#'Cmd\'.
30920131031d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 138
diff changeset
   767
map bindValue:$~ to:#'Cmd~'.
30920131031d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 138
diff changeset
   768
map bindValue:$@ to:#'Cmd@'.
497
1a8b0d6c7750 french alt stuff (kludge)
Claus Gittinger <cg@exept.de>
parents: 496
diff changeset
   769
map bindValue:$# to:#'Cmd#'.
140
30920131031d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 138
diff changeset
   770
122
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   771
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   772
!