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