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