Editor gadget commands
Factor handbook > UI framework > Building user interfaces > Pre-made UI gadgets > Editor gadgets

Next:editor


Editing commands
ShortcutCommandWordNotes
C+zUndocom-undo
C+yRedocom-redo
DELETEDelete Next Characterdelete-next-character
BACKSPACEDelete Previous Characterdelete-previous-character
S+BACKSPACEDelete Previous Characterdelete-previous-character
C+DELETEDelete Next Worddelete-next-word
C+BACKSPACEDelete Previous Worddelete-previous-word
A+DELETEDelete To End Of Linedelete-to-end-of-line
A+BACKSPACEDelete To Start Of Linedelete-to-start-of-line


Caret Motion commands
ShortcutCommandWordNotes
Press ButtonPosition Caretposition-caret
LEFTPrevious Characterprevious-character
RIGHTNext Characternext-character
C+LEFTPrevious Wordprevious-word
C+RIGHTNext Wordnext-word
HOMEStart Of Linestart-of-line
ENDEnd Of Lineend-of-line
C+HOMEStart Of Documentstart-of-document
C+ENDEnd Of Documentend-of-document


Selection commands
ShortcutCommandWordNotes
S+Press Button 1Extend Selectionextend-selection
S+Click Button 1Copy Selectioncom-copy-selection
Drag Selectiondrag-selection
Focus Editorfocus-editor
Unfocus Editorunfocus-editor
C+Remove Selectionremove-selection
C+aSelect Allselect-all
C+lSelect Lineselect-line
S+LEFTSelect Previous Characterselect-previous-character
S+RIGHTSelect Next Characterselect-next-character
S+C+LEFTSelect Previous Wordselect-previous-word
S+C+RIGHTSelect Next Wordselect-next-word
S+HOMESelect Start Of Lineselect-start-of-line
S+ENDSelect End Of Lineselect-end-of-line
S+C+HOMESelect Start Of Documentselect-start-of-document
S+C+ENDSelect End Of Documentselect-end-of-document


Clipboard commands
ShortcutCommandWordNotes
C+xCutcom-cut
C+cCopycom-copy
C+vPastecom-paste
Click ButtonCopy Selectioncom-copy-selection
Click Button 2Paste Selectionpaste-selection


Multiline commands
ShortcutCommandWordNotes
UPPrevious Lineprevious-line
DOWNNext Linenext-line
S+UPSelect Previous Lineselect-previous-line
S+DOWNSelect Next Lineselect-next-line
PAGE_UPPrevious Pageprevious-page
PAGE_DOWNNext Pagenext-page
S+PAGE_UPSelect Previous Pageselect-previous-page
S+PAGE_DOWNSelect Next Pageselect-next-page
RETInsert Newlineinsert-newline
S+RETInsert Newlineinsert-newline
ENTERInsert Newlineinsert-newline
C+jJoin Linescom-join-lines