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

Next:editor


Editing commands
ShortcutCommandWordNotes
⌘ZUndocom-undo
⌘YRedocom-redo
DELETEDelete Next Characterdelete-next-character
BACKSPACEDelete Previous Characterdelete-previous-character
⇧DELETEDelete Next Characterdelete-next-character
⇧BACKSPACEDelete Previous Characterdelete-previous-character
⌥DELETEDelete Next Worddelete-next-word
⌥BACKSPACEDelete Previous Worddelete-previous-word
⌘DELETEDelete To End Of Linedelete-to-end-of-line
⌘BACKSPACEDelete To Start Of Linedelete-to-start-of-line
⌃DELETEDelete Next Characterdelete-next-character
⌃BACKSPACEDelete Previous Characterdelete-previous-character



Caret Motion commands
ShortcutCommandWordNotes
Press ButtonPosition Caretposition-caret
LEFTPrevious Characterprevious-character
RIGHTNext Characternext-character
⌥LEFTPrevious Wordprevious-word
⌥RIGHTNext Wordnext-word
HOMEStart Of Linestart-of-line
ENDEnd Of Lineend-of-line
⌥UPStart Of Paragraphstart-of-paragraph
⌥DOWNEnd Of Paragraphend-of-paragraph
⌥HOMEStart Of Documentstart-of-document
⌥ENDEnd Of Documentend-of-document
⌘LEFTStart Of Linestart-of-line
⌘RIGHTEnd Of Lineend-of-line
⌘UPStart Of Paragraphstart-of-paragraph
⌘DOWNEnd Of Paragraphend-of-paragraph
⌘HOMEStart Of Documentstart-of-document
⌘ENDEnd Of Documentend-of-document



Selection commands
ShortcutCommandWordNotes
⇧Press Button 1Extend Selectionextend-selection
⇧Click Button 1Copy Selectioncom-copy-selection
Drag Selectiondrag-selection
Focus Editorfocus-editor
Unfocus Editorunfocus-editor
Remove Selectionremove-selection
⌘ASelect Allselect-all
⌃LSelect Lineselect-line
⇧LEFTSelect Previous Characterselect-previous-character
⇧RIGHTSelect Next Characterselect-next-character
⇧⌥LEFTSelect Previous Wordselect-previous-word
⇧⌥RIGHTSelect Next Wordselect-next-word
⇧HOMESelect Start Of Lineselect-start-of-line
⇧ENDSelect End Of Lineselect-end-of-line
⇧⌥UPSelect Start Of Paragraphselect-start-of-paragraph
⇧⌥DOWNSelect End Of Paragraphselect-end-of-paragraph
⇧⌥HOMESelect Start Of Documentselect-start-of-document
⇧⌥ENDSelect End Of Documentselect-end-of-document
⇧⌘LEFTSelect Start Of Lineselect-start-of-line
⇧⌘RIGHTSelect End Of Lineselect-end-of-line
⇧⌘UPSelect Start Of Paragraphselect-start-of-paragraph
⇧⌘DOWNSelect End Of Paragraphselect-end-of-paragraph
⇧⌘HOMESelect Start Of Documentselect-start-of-document
⇧⌘ENDSelect End Of Documentselect-end-of-document



Clipboard commands
ShortcutCommandWordNotes
⌘XCutcom-cut
⌘CCopycom-copy
⌘VPastecom-paste
Click ButtonCopy Selectioncom-copy-selection



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