Notes:
The Insert key inserts the primary selection, at the position of the insertion cursor. [with mouse]
The Select key and Control-Space set the selection anchor to the position of the insertion cursor. They don't affect the current selection.
Shift-Select and Control-Shift-Space adjust the selection to the current position of the insertion cursor, selecting from the anchor to the insertion cursor if there was not any selection previously. [with mouse]
Control-5 (keypad) or Control-/ selects the entire contents of the widget.
Control-\ clears any selection in the widget.
The Delete key deletes the selection, if there is one in the widget. If there is no selection, it deletes the character to the right of the insertion cursor (as Control-d does). The Backspace key also deletes the selection, if there is one in the widget. If there is no selection, it deletes the character to the left of the insertion cursor.
The F16 key (labelled Copy on many Sun workstations) or Meta-w or Control-c copies the selection in the widget to the clipboard, if there is a selection.
The F20 key (labelled Cut on many Sun workstations) or Control-w or Control-x copies the selection in the widget to the clipboard and deletes the selection. If there is no selection in the widget then these keys have no effect.
The F18 key (labelled Paste on many Sun workstations) or Control-y or Control-v inserts the contents of the clipboard at the position of the insertion cursor.
The Left and Right keys move the insertion cursor one character to the left or right; they also clear any selection in the text. Control-b behave the same as Left, while Control-f doesn't go Right anymore. Instead it is now binded to call the Find dialog. If Left or Right is typed with the Shift key down, then the insertion cursor moves and the selection is extended to include the new character.
Control-Left and Control-Right move the insertion cursor by words, and Control-Shift-Left and Control-Shift-Right move the insertion cursor by words and also extend the selection. Meta-b and Meta-f behave the same as Control-Left and Control-Right, respectively.
The Up and Down keys move the insertion cursor one line up or down and clear any selection in the text. If Up or Right is typed with the Shift key down, then the insertion cursor moves and the selection is extended to include the new character. Control-p behaves the same as Up.
Control-Up and Control-Down move the insertion cursor by paragraphs (groups of lines separated by blank lines), and Control-Shift-Up and Control-Shift-Down move the insertion cursor by paragraphs and also extend the selection.
The Next and Prior keys move the insertion cursor forward or backwards by one screenful and clear any selection in the text. If the Shift key is held down while Next or Prior is typed, then the selection is extended to include the new characters.
Home and Control-a move the insertion cursor to the beginning of its line and clear any selection in the widget. Shift-Home moves the insertion cursor to the beginning of the line and also extends the selection to that point.
End and Control-e move the insertion cursor to the end of the line and clear any selection in the widget. Shift-End moves the cursor to the end of the line and extends the selection to that point.
Control-Home and Meta-< move the insertion cursor to the beginning of the text and clear any selection in the widget. Control-Shift-Home moves the insertion cursor to the beginning of the text and also extends the selection to that point.
Control-End and Meta-> move the insertion cursor to the end of the text and clear any selection in the widget. Control-Shift-End moves the cursor to the end of the text and extends the selection to that point.
Control-Next and Control-Prior scroll the view right or left by one page without moving the insertion cursor or affecting the selection.
Control-k deletes from the insertion cursor to the end of its line; if the insertion cursor is already at the end of a line, then Control-k deletes the newline character.
Control-t reverses the order of the two characters to the right and left of the insertion cursor or the two ones to the left if the insertion cursor is at the end of a line. This is useful to quickly correct typing mistakes.
Control-o opens a new line by inserting a newline character in front of the insertion cursor without moving the insertion cursor.
Last modified: Sunday, 21-Dec-2014 23:37:54 UTC