An entire line can be selected by triple-clicking with the mouse, or using the Edit>Text>Select Line command (shortcut: Control-E L). A selection that begins and ends on line boundaries can be created by triple-clicking and dragging.
Edit>Go to Line (shortcut: Control-L) displays an input dialog box and moves the caret to the specified line number.
Edit>Select Line Range (shortcut Control-E Control-L) selects all text between between two specified line numbers, inclusive.
Edit>Text>Join Lines (shortcut: Control-J) removes any whitespace from the start of the next line and joins it with the current line. For example, invoking Join Lines on the first line of the following Java code:
new Widget(Foo .createDefaultFoo()); |
Will change it to:
new Widget(Foo.createDefaultFoo()); |
Edit>Text>Delete Line (shortcut: Control-D) deletes the current line.
Edit>Text>Delete to Start Of Line (shortcut: Control-Shift-Backspace) deletes all text from the start of the current line to the caret.
Edit>Text>Delete to End Of Line (shortcut: Control-Shift-Delete) deletes all text from the caret to the end of the current line.
Edit>Text>Remove Trailing Whitespace (shortcut: Control-E R) removes all whitespace from the end of each selected line, or the current line if there is no selection.