EditorCommands Class
Contains the edit action commands used for the SyntaxEditor control.
public static class EditorCommands
- Inheritance:
- object object
Properties
AddNextOccurrenceToSelection
The EditActionBase that adds the next occurrence of the currently-selected text to the selection, or selects the current word if there is no selection. otherwise, deletes the previous character.
ApplyDefaultOutliningExpansion
The EditActionBase that applies the default outlining expansion, such that only outlining nodes with an
IsDefaultCollapsed value of true are collapsed.
otherwise, deletes the previous character.
Backspace
The EditActionBase that deletes the currently selected text if text is selected; otherwise, deletes the previous character.
BackspaceToPreviousWord
The EditActionBase that backspaces and deletes text to the beginning of the previous word.
CancelMacroRecording
The EditActionBase that cancels recording a macro.
Capitalize
The EditActionBase that capitalizes the first letter of each word.
CodeBlockSelectionContract
The EditActionBase that contracts the code block selection level.
CodeBlockSelectionExpand
The EditActionBase that expands the code block selection level.
CollapseSelection
The EditActionBase that collapses the selections to the carets.
CollapseSelectionLeft
The EditActionBase that collapses the selections to the left.
CollapseSelectionRight
The EditActionBase that collapses the selections to the right.
CollapseToDefinitions
The EditActionBase that collapses all outlining nodes that have an IsImplementation value of true.
CommentLines
The EditActionBase that comments the currently selected lines.
ConvertSpacesToTabs
The EditActionBase that converts all spaces in the selection to an equivalent number of tabs.
ConvertTabsToSpaces
The EditActionBase that converts all tabs in the selection to an equivalent number of spaces.
CopyAndAppendToClipboard
The EditActionBase that copies and appends the currently selected text to the clipboard.
CopyToClipboard
The EditActionBase that copies the currently selected text to the clipboard.
CutAndAppendToClipboard
The EditActionBase that cuts and appends the currently selected text to the clipboard.
CutLineToClipboard
The EditActionBase that cuts the current view line's text to the clipboard.
CutToClipboard
The EditActionBase that cuts the currently selected text to the clipboard.
Delete
The EditActionBase that deletes the currently selected text if text is selected; otherwise, deletes the next character.
DeleteBlankLines
The EditActionBase that deletes the blank lines in the selected text, or the current view line if no text is selected and it is blank.
DeleteHorizontalWhitespace
The EditActionBase that deletes the horizontal whitespace within the current selection.
DeleteLine
The EditActionBase that deletes the currently active view line.
DeleteToLineEnd
The EditActionBase that deletes the currently selected text through to the end of the current view line.
DeleteToLineStart
The EditActionBase that deletes the currently selected text through to the start of the current view line.
DeleteToNextWord
The EditActionBase that deletes text to the beginning of the next word.
Duplicate
The EditActionBase that duplicates the current view line.
ExpandAllOutlining
The EditActionBase that expands all outlining nodes.
Find
The EditActionBase that opens the search overlay pane in find mode and activates (focuses) it.
FindNext
The EditActionBase that searches to locate the next SearchOptions find text match in the active view.
FindNextSelected
The EditActionBase that updates the SearchOptions find text with the currently-selected text, and then searches to locate the next find text match in the active view.
FindPrevious
The EditActionBase that searches to locate the previous SearchOptions find text match in the active view.
FindPreviousSelected
The EditActionBase that updates the SearchOptions find text with the currently-selected text, and then searches to locate the previous find text match in the active view.
FormatDocument
The EditActionBase that formats the entire document.
FormatSelection
The EditActionBase that formats the currently selected lines.
HideSelection
The EditActionBase that collapses the current selection.
IncrementalSearch
The EditActionBase that performs a forward incremental search.
Indent
The EditActionBase that indents the currently selected lines.
InsertLineBreak
The EditActionBase that inserts a line break at the current position.
InsertTabStopOrIndent
The EditActionBase that inserts whitespace to bring the caret to the next tab stop if there is no selection, or alternatively indents the currently selected lines.
MakeLowercase
The EditActionBase that changes the character casing of the selected text to lowercase.
MakeUppercase
The EditActionBase that changes the character casing of the selected text to uppercase.
MoveDown
The EditActionBase that is used to move the caret down a line.
MoveLeft
The EditActionBase that is used to move the caret left a character.
MovePageDown
The EditActionBase that is used to move the caret down a page.
MovePageUp
The EditActionBase that is used to move the caret up a page.
MoveRight
The EditActionBase that is used to move the caret right a character.
MoveSelectedLinesDown
The EditActionBase that moves the selected lines down.
MoveSelectedLinesUp
The EditActionBase that moves the selected lines up.
MoveToDocumentEnd
The EditActionBase that is used to move the caret to the document end.
MoveToDocumentStart
The EditActionBase that is used to move the caret to the document start.
MoveToLineEnd
The EditActionBase that is used to move the caret to the line end.
MoveToLineStart
The EditActionBase that is used to move the caret to the line start.
MoveToLineStartAfterIndentation
The EditActionBase that is used to move the caret to the first non-whitespace character on the current view line.
MoveToMatchingBracket
The EditActionBase that is used to move the caret to the matching bracket, if any.
MoveToNextLineStartAfterIndentation
The EditActionBase that is used to move the caret to the first non-whitespace character on the next view line.
public static EditActionBase MoveToNextLineStartAfterIndentation { get; }
Property Value
MoveToNextWord
The EditActionBase that is used to move the caret to the next word.
MoveToPreviousLineStartAfterIndentation
The EditActionBase that is used to move the caret to the first non-whitespace character on the previous view line.
public static EditActionBase MoveToPreviousLineStartAfterIndentation { get; }
Property Value
MoveToPreviousWord
The EditActionBase that is used to move the caret to the previous word.
MoveToVisibleBottom
The EditActionBase that is used to move the caret to the bottom of the view.
MoveToVisibleTop
The EditActionBase that is used to move the caret to the top of the view.
MoveUp
The EditActionBase that is used to move the caret up a line.
NormalizeLineTerminatorsToCRLF
The EditActionBase that normalizes all document line terminators to CRLF.
NormalizeLineTerminatorsToLF
The EditActionBase that normalizes all document line terminators to LF.
OpenLineAbove
The EditActionBase that inserts a new line above the current selection ranges.
OpenLineBelow
The EditActionBase that inserts a new line below the current selection ranges.
Outdent
The EditActionBase that outdents the currently selected lines.
PasteFromClipboard
The EditActionBase that pastes text from the clipboard into the editor view.
PauseResumeMacroRecording
The EditActionBase that pauses or resumes recording a macro, depending on the current state of macro recording.
Redo
The EditActionBase that performs a redo operation.
RemoveTabStopOrOutdent
The EditActionBase that removes whitespace to bring the caret to the previous tab stop if there is no selection, or alternatively outdents the currently selected lines.
Replace
The EditActionBase that opens the search overlay pane in replace mode and activates (focuses) it.
RequestIntelliPromptAutoComplete
The EditActionBase that performs an auto-complete if the language supports an IntelliPrompt completion session at the current offset
public static EditActionBase RequestIntelliPromptAutoComplete { get; }
Property Value
RequestIntelliPromptCompletionSession
The EditActionBase that displays a completion list if the language supports an IntelliPrompt completion session at the current offset
public static EditActionBase RequestIntelliPromptCompletionSession { get; }
Property Value
RequestIntelliPromptInsertSnippetSession
The EditActionBase that allows for IntelliPrompt 'surrounds with' code snippet selection at the current offset.
public static EditActionBase RequestIntelliPromptInsertSnippetSession { get; }
Property Value
RequestIntelliPromptParameterInfoSession
The EditActionBase that displays IntelliPrompt parameter info based on the current context.
public static EditActionBase RequestIntelliPromptParameterInfoSession { get; }
Property Value
RequestIntelliPromptQuickInfoSession
The EditActionBase that displays IntelliPrompt quick info based on the current context.
public static EditActionBase RequestIntelliPromptQuickInfoSession { get; }
Property Value
RequestIntelliPromptSurroundWithSession
The EditActionBase that allows for IntelliPrompt 'expansion' code snippet selection at the current offset.
public static EditActionBase RequestIntelliPromptSurroundWithSession { get; }
Property Value
ResetZoomLevel
The EditActionBase that resets the zoom level to 100%.
ReverseIncrementalSearch
The EditActionBase that performs a reverse incremental search.
RunMacro
The EditActionBase that runs the macro that was last recorded.
ScrollDown
The EditActionBase that is used to scroll down a line.
ScrollLeft
The EditActionBase that is used to scroll left a column.
ScrollLineToVisibleBottom
The EditActionBase that is used to scroll the current view line to the bottom of the view.
ScrollLineToVisibleMiddle
The EditActionBase that is used to scroll the current view line to the middle of the view.
ScrollLineToVisibleTop
The EditActionBase that is used to scroll the current view line to the top of the view.
ScrollPageDown
The EditActionBase that is used to scroll down a page.
ScrollPageUp
The EditActionBase that is used to scroll up a page.
ScrollRight
The EditActionBase that is used to scroll right a column.
ScrollToDocumentEnd
The EditActionBase that is used to scroll the caret to the document end.
ScrollToDocumentStart
The EditActionBase that is used to scroll the caret to the document start.
ScrollUp
The EditActionBase that is used to scroll up a line.
SelectAll
The EditActionBase that is used to select all the text.
SelectBlockDown
The EditActionBase that is used to extend the block selection down a line.
SelectBlockLeft
The EditActionBase that is used to extend the block selection left a character.
SelectBlockRight
The EditActionBase that is used to extend the block selection right a character.
SelectBlockToNextWord
The EditActionBase that is used to extend the block selection to the next word.
SelectBlockToPreviousWord
The EditActionBase that is used to extend the block selection to the previous word.
SelectBlockUp
The EditActionBase that is used to extend the block selection up a line.
SelectDown
The EditActionBase that is used to extend the selection down a line.
SelectLeft
The EditActionBase that is used to extend the selection left a character.
SelectPageDown
The EditActionBase that is used to extend the selection down a page.
SelectPageUp
The EditActionBase that is used to extend the selection up a page.
SelectRight
The EditActionBase that is used to extend the selection right a character.
SelectToDocumentEnd
The EditActionBase that is used to extend the selection to the document end.
SelectToDocumentStart
The EditActionBase that is used to extend the selection to the document start.
SelectToLineEnd
The EditActionBase that is used to extend the selection to the line end.
SelectToLineStart
The EditActionBase that is used to extend the selection to the line start.
SelectToLineStartAfterIndentation
The EditActionBase that is used to extend the selection to the first non-whitespace character on the current view line.
public static EditActionBase SelectToLineStartAfterIndentation { get; }
Property Value
SelectToMatchingBracket
The EditActionBase that is used to extend the selection to the matching bracket, if any.
SelectToNextWord
The EditActionBase that is used to extend the selection to the next word.
SelectToPreviousWord
The EditActionBase that is used to extend the selection to the previous word.
SelectToVisibleBottom
The EditActionBase that is used to extend the selection to the bottom of the view.
SelectToVisibleTop
The EditActionBase that is used to extend the selection to the top of the view.
SelectUp
The EditActionBase that is used to extend the selection up a line.
SelectWord
The EditActionBase that is used to select the current word.
StartAutomaticOutlining
The EditActionBase that is used to start automatic outlining.
StopHidingCurrent
The EditActionBase that is used to stop hiding the outlining node that currently contains the caret, if any.
StopOutlining
The EditActionBase that is used to stop outlining.
TabifySelectedLines
The EditActionBase that converts spaces at the beginning of the active view lines to tabs.
ToggleAllOutliningExpansion
The EditActionBase that toggles the collapsed state of all outlining nodes.
ToggleCharacterCasing
The EditActionBase that toggles the character casing of the selected text.
ToggleMacroRecording
The EditActionBase that starts or stops recording a macro, depending on the current state of macro recording.
ToggleOutliningExpansion
The EditActionBase that toggles the collapsed state of the outlining node that contains the caret, if any.
ToggleOverwriteMode
The EditActionBase that toggles overwrite mode.
TransposeCharacters
The EditActionBase that transposes the characters before and after the caret.
TransposeLines
The EditActionBase that transposes the current view line with the next view line.
TransposeWords
The EditActionBase that transposes the words before and after the caret.
TrimAllTrailingWhitespace
The EditActionBase that trims the trailing whitespace off all the lines in the document.
TrimTrailingWhitespace
The EditActionBase that trims the trailing whitespace off all the lines in the selected text, or the current document line if no text is selected.
UncommentLines
The EditActionBase that uncomments the currently selected lines.
Undo
The EditActionBase that performs an undo operation.
UntabifySelectedLines
The EditActionBase that converts tabs at the beginning of the active view lines to spaces.
ZoomIn
The EditActionBase that zooms in the editor's zoom level.
ZoomOut
The EditActionBase that zooms out the editor's zoom level.
Methods
GetAll()
Returns a collection of all the known commands.