/*
Copyright (C) 2014-2019 de4dot@gmail.com
This file is part of dnSpy
dnSpy is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
dnSpy is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with dnSpy. If not, see .
*/
namespace dnSpy.Contracts.Command {
///
/// Text editor command IDs (group = )
///
public enum TextEditorIds {
///
/// Type character. The argument is the string to add.
///
TYPECHAR,
///
/// Delete Backwards; Delete the current selection, or if no selection, the previous character.
///
BACKSPACE,
///
/// Break Line; Insert a line break at the current caret position.
///
RETURN,
///
/// Insert Tab; Insert a tab character at the current caret position.
///
TAB,
///
/// Tab Left; Move the caret back one tab stop.
///
BACKTAB,
///
/// Delete; Delete the current selection.
///
DELETE,
///
/// Char Left; Move the caret left one character.
///
LEFT,
///
/// Char Left Extend; Move the caret left one character, extending the selection.
///
LEFT_EXT,
///
/// Char Right; Move the caret right one character.
///
RIGHT,
///
/// Char Right Extend; Move the caret right one character, extending the selection.
///
RIGHT_EXT,
///
/// Line Up.
///
UP,
///
/// Line Up Extend; Move the caret up one line, extending the selection.
///
UP_EXT,
///
/// Line Down; Move the caret down one line.
///
DOWN,
///
/// Line Down Extend; Move the caret down one line, extending the selection.
///
DOWN_EXT,
///
/// Document Start; Move the caret to the start of the document.
///
HOME,
///
/// Document Start Extend; Move the caret to the start of the document, extending the selection.
///
HOME_EXT,
///
/// Document End; Move the caret to the end of the document.
///
END,
///
/// Document End Extend; Move the caret to the end of the document, extending the selection.
///
END_EXT,
///
/// Line Start; Move the caret to the start of the line.
///
BOL,
///
/// Line Start Extend; Move the caret to the start of the line, extending the selection.
///
BOL_EXT,
///
/// Line Start After Indentation; Move the caret to first non-white space character on the line.
///
FIRSTCHAR,
///
/// Line Start After Indentation Extend; Move the caret to first non-white space character on the line, extending the selection.
///
FIRSTCHAR_EXT,
///
/// Line End; Move the caret to the end of the line..
///
EOL,
///
/// Line End Extend; Move the caret to the end of the line, extending the selection.
///
EOL_EXT,
///
/// Line Last Char; Move the caret after the last non-white space character on the line.
///
LASTCHAR,
///
/// Line Last Char Extend; Move the caret after the last non-white space character on the line, extending the selection..
///
LASTCHAR_EXT,
///
/// Page Up; Move the caret up one page.
///
PAGEUP,
///
/// Page Up Extend; Move the caret up one page, extending the selection.
///
PAGEUP_EXT,
///
/// Page Down; Move the caret down one page.
///
PAGEDN,
///
/// Page Down Extend; Move the caret down one page, extending the selection.
///
PAGEDN_EXT,
///
/// View Top; Move the caret to the top line in view.
///
TOPLINE,
///
/// View Top Extend; Move the caret to the top line in view, extending the selection.
///
TOPLINE_EXT,
///
/// View Bottom; Move the caret to the last line in view.
///
BOTTOMLINE,
///
/// View Bottom Extend; Move the caret to the last line in view, extending the selection.
///
BOTTOMLINE_EXT,
///
/// Scroll Line Up: Scroll the document up one line.
///
SCROLLUP,
///
/// Scroll Line Down; Scroll the document down one line.
///
SCROLLDN,
///
/// Scroll Page Up: Scroll the document up one page..
///
SCROLLPAGEUP,
///
/// Scroll Page Down: Scroll the document down one page.
///
SCROLLPAGEDN,
///
/// Scroll Column Left; Scroll the document left one column.
///
SCROLLLEFT,
///
/// Scroll Column Right; Scroll the document right one column.
///
SCROLLRIGHT,
///
/// Scroll Line Bottom; Scroll the current line to the bottom of the view.
///
SCROLLBOTTOM,
///
/// Scroll Line Center; Scroll the current line to the center of the view.
///
SCROLLCENTER,
///
/// Scroll Line Top: Scroll the current line to the top of the view.
///
SCROLLTOP,
///
/// Select All; Select all of the document.
///
SELECTALL,
///
/// Tabify Selection: Replace spaces in the current selection with tabs.
///
SELTABIFY,
///
/// Untabify Selection; Replace tabs in the current selection with spaces.
///
SELUNTABIFY,
///
/// Make Lowercase; Change the text in the current selection to all lower case.
///
SELLOWCASE,
///
/// Make Uppercase; Change the text in the current selection to all upper case.
///
SELUPCASE,
///
/// Toggle Case: Toggle the case of the text in the current selection.
///
SELTOGGLECASE,
///
/// Capitalize; Capitalize the first letter of words in the selection.
///
SELTITLECASE,
///
/// Swap Anchor; Swap the anchor and end points of the current selection.
///
SELSWAPANCHOR,
///
/// Go To Line; Go to the indicated line.
///
GOTOLINE,
///
/// Goto Brace; Move the caret forward to the matching brace.
///
GOTOBRACE,
///
/// Goto Brace Extend; Move the caret forward to the matching brace, extending the selection.
///
GOTOBRACE_EXT,
///
/// Overtype Mode; Toggle between insert and overtype insertion modes.
///
TOGGLE_OVERTYPE_MODE,
///
/// Line Cut; Cut all selected lines, or the current line if no selection, to the clipboard.
///
CUTLINE,
///
/// Delete Line; Delete all selected lines, or the current line if no selection.
///
DELETELINE,
///
/// Delete Blank Lines; Delete all blank lines in the selection, or the current blank line if no selection.
///
DELETEBLANKLINES,
///
/// Delete Horizontal White Space; Collapse white space in the selection, or delete white space adjacent to the caret if no selection.
///
DELETEWHITESPACE,
///
/// Delete To EOL; Delete from the caret position to the end of the line.
///
DELETETOEOL,
///
/// Delete To BOL; Delete from the caret position to the beginning of the line.
///
DELETETOBOL,
///
/// Line Open Above; Open a new line above the current line.
///
OPENLINEABOVE,
///
/// Line Open Below: Open a new line below the current line.
///
OPENLINEBELOW,
///
/// Increase Line Indent; Increase Indent.
///
INDENT,
///
/// Decrease Line Indent; Line Unindent.
///
UNINDENT,
///
/// Char Transpose: Transpose the characters on either side of the caret.
///
TRANSPOSECHAR,
///
/// Word Transpose; Transpose the words on either side of the caret.
///
TRANSPOSEWORD,
///
/// Line Transpose; Transpose the current line and the line below.
///
TRANSPOSELINE,
///
/// Select Current Word; Select the word under the caret.
///
SELECTCURRENTWORD,
///
/// Word Delete To End; Delete the word to the right of the caret.
///
DELETEWORDRIGHT,
///
/// Word Delete To Start; Delete the word to the left of the caret.
///
DELETEWORDLEFT,
///
/// Word Previous; Move the caret left one word.
///
WORDPREV,
///
/// Word Previous Extend; Move the caret left one word, extending the selection.
///
WORDPREV_EXT,
///
/// Word Next; Move the caret right one word.
///
WORDNEXT,
///
/// Word Next Extend; Move the caret right one word, extending the selection.
///
WORDNEXT_EXT,
///
/// Selection Cancel; Cancel the current selection moving the caret to the anchor point.
///
CANCEL,
///
/// View White Space; Toggle the visibility of white space characters.
///
TOGGLEVISSPACE,
///
/// Complete Word; Display Word Completion based on the current language.
///
COMPLETEWORD,
///
/// Show Member List; Display an object Member List based on the current language.
///
SHOWMEMBERLIST,
///
/// Line Start After Indentation Next; Move the caret to the first non-white-space character on the previous line.
///
FIRSTNONWHITEPREV,
///
/// Line Start After Indentation Next; Move the caret to the first non-white-space character on the next line.
///
FIRSTNONWHITENEXT,
///
/// Char Left Extend Column; Move the caret left one character, extending the column selection.
///
LEFT_EXT_COL,
///
/// Char Right Extend Column; Move the caret right one character, extending the column selection.
///
RIGHT_EXT_COL,
///
/// Line Up Extend Column; Move the caret up one line, extending the column selection.
///
UP_EXT_COL,
///
/// Line Down Extend Column; Move the caret down one line, extending the column selection.
///
DOWN_EXT_COL,
///
/// Toggle Word Wrap; Toggle Word Wrap mode.
///
TOGGLEWORDWRAP,
///
/// Line Start Extend Column; Move the caret to the start of the line, extending the column selection.
///
BOL_EXT_COL,
///
/// Line End Extend Column; Move the caret to the end of the line, extending the column selection.
///
EOL_EXT_COL,
///
/// Word Previous Extend Column; Move the caret left one word, extending the column selection.
///
WORDPREV_EXT_COL,
///
/// Word Next Extend Column; Move the caret right one word, extending the column selection.
///
WORDNEXT_EXT_COL,
///
/// Convert tabs to spaces
///
ECMD_CONVERTTABSTOSPACES,
///
/// Convert spaces to tabs
///
ECMD_CONVERTSPACESTOTABS,
///
/// Editor line first column
///
EditorLineFirstColumn,
///
/// Editor line first column extended
///
EditorLineFirstColumnExtend,
///
/// Toggle consume first completion mode
///
ToggleConsumeFirstCompletionMode,
///
/// Zoom in
///
ZoomIn,
///
/// Zoom out
///
ZoomOut,
///
/// Resets the zoom level to the default zoom level
///
ZoomReset,
///
/// Move selected lines up
///
MoveSelLinesUp,
///
/// Move seleted lines down
///
MoveSelLinesDown,
///
/// Smart Break Line
///
SmartBreakLine,
///
/// Decrease filter
///
DECREASEFILTER,
///
/// Increase filter
///
INCREASEFILTER,
///
/// Quick Info; Display Quick Info based on the current language.
///
QUICKINFO,
///
/// Parameter Info; Display Parameter Info based on the current language.
///
PARAMINFO,
}
}