In This Article

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.

public static EditActionBase AddNextOccurrenceToSelection { get; }

Property Value

EditActionBase

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.

public static EditActionBase ApplyDefaultOutliningExpansion { get; }

Property Value

EditActionBase

Backspace

The EditActionBase that deletes the currently selected text if text is selected; otherwise, deletes the previous character.

public static EditActionBase Backspace { get; }

Property Value

EditActionBase

BackspaceToPreviousWord

The EditActionBase that backspaces and deletes text to the beginning of the previous word.

public static EditActionBase BackspaceToPreviousWord { get; }

Property Value

EditActionBase

CancelMacroRecording

The EditActionBase that cancels recording a macro.

public static EditActionBase CancelMacroRecording { get; }

Property Value

EditActionBase

Capitalize

The EditActionBase that capitalizes the first letter of each word.

public static EditActionBase Capitalize { get; }

Property Value

EditActionBase

CodeBlockSelectionContract

The EditActionBase that contracts the code block selection level.

public static EditActionBase CodeBlockSelectionContract { get; }

Property Value

EditActionBase

CodeBlockSelectionExpand

The EditActionBase that expands the code block selection level.

public static EditActionBase CodeBlockSelectionExpand { get; }

Property Value

EditActionBase

CollapseSelection

The EditActionBase that collapses the selections to the carets.

public static EditActionBase CollapseSelection { get; }

Property Value

EditActionBase

CollapseSelectionLeft

The EditActionBase that collapses the selections to the left.

public static EditActionBase CollapseSelectionLeft { get; }

Property Value

EditActionBase

CollapseSelectionRight

The EditActionBase that collapses the selections to the right.

public static EditActionBase CollapseSelectionRight { get; }

Property Value

EditActionBase

CollapseToDefinitions

The EditActionBase that collapses all outlining nodes that have an IsImplementation value of true.

public static EditActionBase CollapseToDefinitions { get; }

Property Value

EditActionBase

CommentLines

The EditActionBase that comments the currently selected lines.

public static EditActionBase CommentLines { get; }

Property Value

EditActionBase

ConvertSpacesToTabs

The EditActionBase that converts all spaces in the selection to an equivalent number of tabs.

public static EditActionBase ConvertSpacesToTabs { get; }

Property Value

EditActionBase

ConvertTabsToSpaces

The EditActionBase that converts all tabs in the selection to an equivalent number of spaces.

public static EditActionBase ConvertTabsToSpaces { get; }

Property Value

EditActionBase

CopyAndAppendToClipboard

The EditActionBase that copies and appends the currently selected text to the clipboard.

public static EditActionBase CopyAndAppendToClipboard { get; }

Property Value

EditActionBase

CopyToClipboard

The EditActionBase that copies the currently selected text to the clipboard.

public static EditActionBase CopyToClipboard { get; }

Property Value

EditActionBase

CutAndAppendToClipboard

The EditActionBase that cuts and appends the currently selected text to the clipboard.

public static EditActionBase CutAndAppendToClipboard { get; }

Property Value

EditActionBase

CutLineToClipboard

The EditActionBase that cuts the current view line's text to the clipboard.

public static EditActionBase CutLineToClipboard { get; }

Property Value

EditActionBase

CutToClipboard

The EditActionBase that cuts the currently selected text to the clipboard.

public static EditActionBase CutToClipboard { get; }

Property Value

EditActionBase

Delete

The EditActionBase that deletes the currently selected text if text is selected; otherwise, deletes the next character.

public static EditActionBase Delete { get; }

Property Value

EditActionBase

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.

public static EditActionBase DeleteBlankLines { get; }

Property Value

EditActionBase

DeleteHorizontalWhitespace

The EditActionBase that deletes the horizontal whitespace within the current selection.

public static EditActionBase DeleteHorizontalWhitespace { get; }

Property Value

EditActionBase

DeleteLine

The EditActionBase that deletes the currently active view line.

public static EditActionBase DeleteLine { get; }

Property Value

EditActionBase

DeleteToLineEnd

The EditActionBase that deletes the currently selected text through to the end of the current view line.

public static EditActionBase DeleteToLineEnd { get; }

Property Value

EditActionBase

DeleteToLineStart

The EditActionBase that deletes the currently selected text through to the start of the current view line.

public static EditActionBase DeleteToLineStart { get; }

Property Value

EditActionBase

DeleteToNextWord

The EditActionBase that deletes text to the beginning of the next word.

public static EditActionBase DeleteToNextWord { get; }

Property Value

EditActionBase

Duplicate

The EditActionBase that duplicates the current view line.

public static EditActionBase Duplicate { get; }

Property Value

EditActionBase

ExpandAllOutlining

The EditActionBase that expands all outlining nodes.

public static EditActionBase ExpandAllOutlining { get; }

Property Value

EditActionBase

Find

The EditActionBase that opens the search overlay pane in find mode and activates (focuses) it.

public static EditActionBase Find { get; }

Property Value

EditActionBase

FindNext

The EditActionBase that searches to locate the next SearchOptions find text match in the active view.

public static EditActionBase FindNext { get; }

Property Value

EditActionBase

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.

public static EditActionBase FindNextSelected { get; }

Property Value

EditActionBase

FindPrevious

The EditActionBase that searches to locate the previous SearchOptions find text match in the active view.

public static EditActionBase FindPrevious { get; }

Property Value

EditActionBase

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.

public static EditActionBase FindPreviousSelected { get; }

Property Value

EditActionBase

FormatDocument

The EditActionBase that formats the entire document.

public static EditActionBase FormatDocument { get; }

Property Value

EditActionBase

FormatSelection

The EditActionBase that formats the currently selected lines.

public static EditActionBase FormatSelection { get; }

Property Value

EditActionBase

HideSelection

The EditActionBase that collapses the current selection.

public static EditActionBase HideSelection { get; }

Property Value

EditActionBase

IncrementalSearch

The EditActionBase that performs a forward incremental search.

public static EditActionBase IncrementalSearch { get; }

Property Value

EditActionBase

Indent

The EditActionBase that indents the currently selected lines.

public static EditActionBase Indent { get; }

Property Value

EditActionBase

InsertLineBreak

The EditActionBase that inserts a line break at the current position.

public static EditActionBase InsertLineBreak { get; }

Property Value

EditActionBase

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.

public static EditActionBase InsertTabStopOrIndent { get; }

Property Value

EditActionBase

MakeLowercase

The EditActionBase that changes the character casing of the selected text to lowercase.

public static EditActionBase MakeLowercase { get; }

Property Value

EditActionBase

MakeUppercase

The EditActionBase that changes the character casing of the selected text to uppercase.

public static EditActionBase MakeUppercase { get; }

Property Value

EditActionBase

MoveDown

The EditActionBase that is used to move the caret down a line.

public static EditActionBase MoveDown { get; }

Property Value

EditActionBase

MoveLeft

The EditActionBase that is used to move the caret left a character.

public static EditActionBase MoveLeft { get; }

Property Value

EditActionBase

MovePageDown

The EditActionBase that is used to move the caret down a page.

public static EditActionBase MovePageDown { get; }

Property Value

EditActionBase

MovePageUp

The EditActionBase that is used to move the caret up a page.

public static EditActionBase MovePageUp { get; }

Property Value

EditActionBase

MoveRight

The EditActionBase that is used to move the caret right a character.

public static EditActionBase MoveRight { get; }

Property Value

EditActionBase

MoveSelectedLinesDown

The EditActionBase that moves the selected lines down.

public static EditActionBase MoveSelectedLinesDown { get; }

Property Value

EditActionBase

MoveSelectedLinesUp

The EditActionBase that moves the selected lines up.

public static EditActionBase MoveSelectedLinesUp { get; }

Property Value

EditActionBase

MoveToDocumentEnd

The EditActionBase that is used to move the caret to the document end.

public static EditActionBase MoveToDocumentEnd { get; }

Property Value

EditActionBase

MoveToDocumentStart

The EditActionBase that is used to move the caret to the document start.

public static EditActionBase MoveToDocumentStart { get; }

Property Value

EditActionBase

MoveToLineEnd

The EditActionBase that is used to move the caret to the line end.

public static EditActionBase MoveToLineEnd { get; }

Property Value

EditActionBase

MoveToLineStart

The EditActionBase that is used to move the caret to the line start.

public static EditActionBase MoveToLineStart { get; }

Property Value

EditActionBase

MoveToLineStartAfterIndentation

The EditActionBase that is used to move the caret to the first non-whitespace character on the current view line.

public static EditActionBase MoveToLineStartAfterIndentation { get; }

Property Value

EditActionBase

MoveToMatchingBracket

The EditActionBase that is used to move the caret to the matching bracket, if any.

public static EditActionBase MoveToMatchingBracket { get; }

Property Value

EditActionBase

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

EditActionBase

MoveToNextWord

The EditActionBase that is used to move the caret to the next word.

public static EditActionBase MoveToNextWord { get; }

Property Value

EditActionBase

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

EditActionBase

MoveToPreviousWord

The EditActionBase that is used to move the caret to the previous word.

public static EditActionBase MoveToPreviousWord { get; }

Property Value

EditActionBase

MoveToVisibleBottom

The EditActionBase that is used to move the caret to the bottom of the view.

public static EditActionBase MoveToVisibleBottom { get; }

Property Value

EditActionBase

MoveToVisibleTop

The EditActionBase that is used to move the caret to the top of the view.

public static EditActionBase MoveToVisibleTop { get; }

Property Value

EditActionBase

MoveUp

The EditActionBase that is used to move the caret up a line.

public static EditActionBase MoveUp { get; }

Property Value

EditActionBase

NormalizeLineTerminatorsToCRLF

The EditActionBase that normalizes all document line terminators to CRLF.

public static EditActionBase NormalizeLineTerminatorsToCRLF { get; }

Property Value

EditActionBase

NormalizeLineTerminatorsToLF

The EditActionBase that normalizes all document line terminators to LF.

public static EditActionBase NormalizeLineTerminatorsToLF { get; }

Property Value

EditActionBase

OpenLineAbove

The EditActionBase that inserts a new line above the current selection ranges.

public static EditActionBase OpenLineAbove { get; }

Property Value

EditActionBase

OpenLineBelow

The EditActionBase that inserts a new line below the current selection ranges.

public static EditActionBase OpenLineBelow { get; }

Property Value

EditActionBase

Outdent

The EditActionBase that outdents the currently selected lines.

public static EditActionBase Outdent { get; }

Property Value

EditActionBase

PasteFromClipboard

The EditActionBase that pastes text from the clipboard into the editor view.

public static EditActionBase PasteFromClipboard { get; }

Property Value

EditActionBase

PauseResumeMacroRecording

The EditActionBase that pauses or resumes recording a macro, depending on the current state of macro recording.

public static EditActionBase PauseResumeMacroRecording { get; }

Property Value

EditActionBase

Redo

The EditActionBase that performs a redo operation.

public static EditActionBase Redo { get; }

Property Value

EditActionBase

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.

public static EditActionBase RemoveTabStopOrOutdent { get; }

Property Value

EditActionBase

Replace

The EditActionBase that opens the search overlay pane in replace mode and activates (focuses) it.

public static EditActionBase Replace { get; }

Property Value

EditActionBase

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

EditActionBase

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

EditActionBase

RequestIntelliPromptInsertSnippetSession

The EditActionBase that allows for IntelliPrompt 'surrounds with' code snippet selection at the current offset.

public static EditActionBase RequestIntelliPromptInsertSnippetSession { get; }

Property Value

EditActionBase

RequestIntelliPromptParameterInfoSession

The EditActionBase that displays IntelliPrompt parameter info based on the current context.

public static EditActionBase RequestIntelliPromptParameterInfoSession { get; }

Property Value

EditActionBase

RequestIntelliPromptQuickInfoSession

The EditActionBase that displays IntelliPrompt quick info based on the current context.

public static EditActionBase RequestIntelliPromptQuickInfoSession { get; }

Property Value

EditActionBase

RequestIntelliPromptSurroundWithSession

The EditActionBase that allows for IntelliPrompt 'expansion' code snippet selection at the current offset.

public static EditActionBase RequestIntelliPromptSurroundWithSession { get; }

Property Value

EditActionBase

ResetZoomLevel

The EditActionBase that resets the zoom level to 100%.

public static EditActionBase ResetZoomLevel { get; }

Property Value

EditActionBase

ReverseIncrementalSearch

The EditActionBase that performs a reverse incremental search.

public static EditActionBase ReverseIncrementalSearch { get; }

Property Value

EditActionBase

RunMacro

The EditActionBase that runs the macro that was last recorded.

public static EditActionBase RunMacro { get; }

Property Value

EditActionBase

ScrollDown

The EditActionBase that is used to scroll down a line.

public static EditActionBase ScrollDown { get; }

Property Value

EditActionBase

ScrollLeft

The EditActionBase that is used to scroll left a column.

public static EditActionBase ScrollLeft { get; }

Property Value

EditActionBase

ScrollLineToVisibleBottom

The EditActionBase that is used to scroll the current view line to the bottom of the view.

public static EditActionBase ScrollLineToVisibleBottom { get; }

Property Value

EditActionBase

ScrollLineToVisibleMiddle

The EditActionBase that is used to scroll the current view line to the middle of the view.

public static EditActionBase ScrollLineToVisibleMiddle { get; }

Property Value

EditActionBase

ScrollLineToVisibleTop

The EditActionBase that is used to scroll the current view line to the top of the view.

public static EditActionBase ScrollLineToVisibleTop { get; }

Property Value

EditActionBase

ScrollPageDown

The EditActionBase that is used to scroll down a page.

public static EditActionBase ScrollPageDown { get; }

Property Value

EditActionBase

ScrollPageUp

The EditActionBase that is used to scroll up a page.

public static EditActionBase ScrollPageUp { get; }

Property Value

EditActionBase

ScrollRight

The EditActionBase that is used to scroll right a column.

public static EditActionBase ScrollRight { get; }

Property Value

EditActionBase

ScrollToDocumentEnd

The EditActionBase that is used to scroll the caret to the document end.

public static EditActionBase ScrollToDocumentEnd { get; }

Property Value

EditActionBase

ScrollToDocumentStart

The EditActionBase that is used to scroll the caret to the document start.

public static EditActionBase ScrollToDocumentStart { get; }

Property Value

EditActionBase

ScrollUp

The EditActionBase that is used to scroll up a line.

public static EditActionBase ScrollUp { get; }

Property Value

EditActionBase

SelectAll

The EditActionBase that is used to select all the text.

public static EditActionBase SelectAll { get; }

Property Value

EditActionBase

SelectBlockDown

The EditActionBase that is used to extend the block selection down a line.

public static EditActionBase SelectBlockDown { get; }

Property Value

EditActionBase

SelectBlockLeft

The EditActionBase that is used to extend the block selection left a character.

public static EditActionBase SelectBlockLeft { get; }

Property Value

EditActionBase

SelectBlockRight

The EditActionBase that is used to extend the block selection right a character.

public static EditActionBase SelectBlockRight { get; }

Property Value

EditActionBase

SelectBlockToNextWord

The EditActionBase that is used to extend the block selection to the next word.

public static EditActionBase SelectBlockToNextWord { get; }

Property Value

EditActionBase

SelectBlockToPreviousWord

The EditActionBase that is used to extend the block selection to the previous word.

public static EditActionBase SelectBlockToPreviousWord { get; }

Property Value

EditActionBase

SelectBlockUp

The EditActionBase that is used to extend the block selection up a line.

public static EditActionBase SelectBlockUp { get; }

Property Value

EditActionBase

SelectDown

The EditActionBase that is used to extend the selection down a line.

public static EditActionBase SelectDown { get; }

Property Value

EditActionBase

SelectLeft

The EditActionBase that is used to extend the selection left a character.

public static EditActionBase SelectLeft { get; }

Property Value

EditActionBase

SelectPageDown

The EditActionBase that is used to extend the selection down a page.

public static EditActionBase SelectPageDown { get; }

Property Value

EditActionBase

SelectPageUp

The EditActionBase that is used to extend the selection up a page.

public static EditActionBase SelectPageUp { get; }

Property Value

EditActionBase

SelectRight

The EditActionBase that is used to extend the selection right a character.

public static EditActionBase SelectRight { get; }

Property Value

EditActionBase

SelectToDocumentEnd

The EditActionBase that is used to extend the selection to the document end.

public static EditActionBase SelectToDocumentEnd { get; }

Property Value

EditActionBase

SelectToDocumentStart

The EditActionBase that is used to extend the selection to the document start.

public static EditActionBase SelectToDocumentStart { get; }

Property Value

EditActionBase

SelectToLineEnd

The EditActionBase that is used to extend the selection to the line end.

public static EditActionBase SelectToLineEnd { get; }

Property Value

EditActionBase

SelectToLineStart

The EditActionBase that is used to extend the selection to the line start.

public static EditActionBase SelectToLineStart { get; }

Property Value

EditActionBase

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

EditActionBase

SelectToMatchingBracket

The EditActionBase that is used to extend the selection to the matching bracket, if any.

public static EditActionBase SelectToMatchingBracket { get; }

Property Value

EditActionBase

SelectToNextWord

The EditActionBase that is used to extend the selection to the next word.

public static EditActionBase SelectToNextWord { get; }

Property Value

EditActionBase

SelectToPreviousWord

The EditActionBase that is used to extend the selection to the previous word.

public static EditActionBase SelectToPreviousWord { get; }

Property Value

EditActionBase

SelectToVisibleBottom

The EditActionBase that is used to extend the selection to the bottom of the view.

public static EditActionBase SelectToVisibleBottom { get; }

Property Value

EditActionBase

SelectToVisibleTop

The EditActionBase that is used to extend the selection to the top of the view.

public static EditActionBase SelectToVisibleTop { get; }

Property Value

EditActionBase

SelectUp

The EditActionBase that is used to extend the selection up a line.

public static EditActionBase SelectUp { get; }

Property Value

EditActionBase

SelectWord

The EditActionBase that is used to select the current word.

public static EditActionBase SelectWord { get; }

Property Value

EditActionBase

StartAutomaticOutlining

The EditActionBase that is used to start automatic outlining.

public static EditActionBase StartAutomaticOutlining { get; }

Property Value

EditActionBase

StopHidingCurrent

The EditActionBase that is used to stop hiding the outlining node that currently contains the caret, if any.

public static EditActionBase StopHidingCurrent { get; }

Property Value

EditActionBase

StopOutlining

The EditActionBase that is used to stop outlining.

public static EditActionBase StopOutlining { get; }

Property Value

EditActionBase

TabifySelectedLines

The EditActionBase that converts spaces at the beginning of the active view lines to tabs.

public static EditActionBase TabifySelectedLines { get; }

Property Value

EditActionBase

ToggleAllOutliningExpansion

The EditActionBase that toggles the collapsed state of all outlining nodes.

public static EditActionBase ToggleAllOutliningExpansion { get; }

Property Value

EditActionBase

ToggleCharacterCasing

The EditActionBase that toggles the character casing of the selected text.

public static EditActionBase ToggleCharacterCasing { get; }

Property Value

EditActionBase

ToggleMacroRecording

The EditActionBase that starts or stops recording a macro, depending on the current state of macro recording.

public static EditActionBase ToggleMacroRecording { get; }

Property Value

EditActionBase

ToggleOutliningExpansion

The EditActionBase that toggles the collapsed state of the outlining node that contains the caret, if any.

public static EditActionBase ToggleOutliningExpansion { get; }

Property Value

EditActionBase

ToggleOverwriteMode

The EditActionBase that toggles overwrite mode.

public static EditActionBase ToggleOverwriteMode { get; }

Property Value

EditActionBase

TransposeCharacters

The EditActionBase that transposes the characters before and after the caret.

public static EditActionBase TransposeCharacters { get; }

Property Value

EditActionBase

TransposeLines

The EditActionBase that transposes the current view line with the next view line.

public static EditActionBase TransposeLines { get; }

Property Value

EditActionBase

TransposeWords

The EditActionBase that transposes the words before and after the caret.

public static EditActionBase TransposeWords { get; }

Property Value

EditActionBase

TrimAllTrailingWhitespace

The EditActionBase that trims the trailing whitespace off all the lines in the document.

public static EditActionBase TrimAllTrailingWhitespace { get; }

Property Value

EditActionBase

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.

public static EditActionBase TrimTrailingWhitespace { get; }

Property Value

EditActionBase

UncommentLines

The EditActionBase that uncomments the currently selected lines.

public static EditActionBase UncommentLines { get; }

Property Value

EditActionBase

Undo

The EditActionBase that performs an undo operation.

public static EditActionBase Undo { get; }

Property Value

EditActionBase

UntabifySelectedLines

The EditActionBase that converts tabs at the beginning of the active view lines to spaces.

public static EditActionBase UntabifySelectedLines { get; }

Property Value

EditActionBase

ZoomIn

The EditActionBase that zooms in the editor's zoom level.

public static EditActionBase ZoomIn { get; }

Property Value

EditActionBase

ZoomOut

The EditActionBase that zooms out the editor's zoom level.

public static EditActionBase ZoomOut { get; }

Property Value

EditActionBase

Methods

GetAll()

Returns a collection of all the known commands.

public static IEnumerable<IEditAction> GetAll()

Returns

IEnumerable<IEditAction>

Inherited Members