Enum EditorActions

Editor action codes

The enum base type is int .

Enum members

Name Description
AppendNewLine insert new line after current position (Ctrl+Enter)
BackTab Tab (unindent text, or remove whitespace before cursor, usually Shift+Tab)
Copy Copy selection to clipboard
Cut Cut selection to clipboard
DeleteLine Delete current line
DelNextChar delete char after cursor (del key)
DelNextWord delete char after cursor (ctrl + del key)
DelPrevChar delete char before cursor (backspace)
DelPrevWord delete word before cursor (ctrl + backspace)
DocumentBegin move cursor to the beginning of document
DocumentEnd move cursor to the end of document
Down move cursor one line down
Find Find text
GoToNextBookmark move cursor to next bookmark
GoToPreviousBookmark move cursor to previous bookmark
Indent Indent text block or single line
InsertLine Insert line
InsertNewLine insert new line (Enter)
Left move cursor one char left
LineBegin move cursor to the beginning of line
LineEnd move cursor to the end of line
None
PageBegin move cursor to the beginning of page
PageDown move cursor one page down
PageEnd move cursor to the end of page
PageUp move cursor one page up
Paste Paste selection from clipboard
PrependNewLine insert new line before current position (Ctrl+Enter)
Redo Redo last undoed change
Replace Replace text
Right move cursor one char right
ScrollLeft Scroll window left
ScrollLineDown Scroll one line down (not changing cursor)
ScrollLineUp Scroll one line up (not changing cursor)
ScrollPageDown Scroll one page down (not changing cursor)
ScrollPageUp Scroll one page up (not changing cursor)
ScrollRight Scroll window right
SelectAll Select whole content (usually, Ctrl+A)
SelectDocumentBegin move cursor to the beginning of document with selection
SelectDocumentEnd move cursor to the end of document with selection
SelectDown move cursor one line down with selection
SelectLeft move cursor one char left with selection
SelectLineBegin move cursor to the beginning of line with selection
SelectLineEnd move cursor to the end of line with selection
SelectPageBegin move cursor to the beginning of page with selection
SelectPageDown move cursor one page down with selection
SelectPageEnd move cursor to the end of page with selection
SelectPageUp move cursor one page up with selection
SelectRight move cursor one char right with selection
SelectUp move cursor one line up with selection
SelectWordLeft move cursor one word left with selection
SelectWordRight move cursor one word right with selection
Tab Tab (e.g., Tab key to insert tab character or indent text)
ToggleBlockComment Toggle block comment
ToggleBookmark Toggle bookmark in current line
ToggleLineComment Togle line comment
ToggleReplaceMode Turn On/Off replace mode
Undo Undo last change
Unindent Unindent text
Up move cursor one line up
WordLeft move cursor one word left
WordRight move cursor one word right
ZoomIn Zoom in editor font
ZoomOut Zoom out editor font

Authors

Vadim Lopatin, coolreader.org@gmail.com

Copyright

Vadim Lopatin, 2014

License

Boost License 1.0