/*
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 .
*/
using dnSpy.Contracts.Hex;
namespace dnSpy.Contracts.Command {
///
/// Text editor command IDs (group = )
///
public enum HexEditorIds {
///
/// Type character. The argument is the string to add.
///
TYPECHAR,
///
/// Backspace
///
BACKSPACE,
///
/// ENTER
///
RETURN,
///
/// Tab
///
TAB,
///
/// Tab Left
///
BACKTAB,
///
/// Delete
///
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 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,
///
/// 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,
///
/// Swap Anchor; Swap the anchor and end points of the current selection.
///
SELSWAPANCHOR,
///
/// Overtype Mode; Toggle between insert and overtype insertion modes.
///
TOGGLE_OVERTYPE_MODE,
///
/// Delete Line; Delete all selected lines, or the current line if no selection.
///
DELETELINE,
///
/// 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,
///
/// Select Current Word; Select the word under the caret.
///
SELECTCURRENTWORD,
///
/// 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,
///
/// Zoom in
///
ZoomIn,
///
/// Zoom out
///
ZoomOut,
///
/// Resets the zoom level to the default zoom level
///
ZoomReset,
///
/// Quick Info; Display Quick Info based on the current language.
///
QUICKINFO,
///
/// Decrease filter
///
DECREASEFILTER,
///
/// Increase filter
///
INCREASEFILTER,
///
/// Copies the text shown in the UI
///
CopyText,
///
/// Copies data (UTF-8)
///
CopyUtf8String,
///
/// Copies data (Unicode)
///
CopyUnicodeString,
///
/// Copies data (C# array)
///
CopyCSharpArray,
///
/// Copies data (Visual Basic array)
///
CopyVisualBasicArray,
///
/// Copies the offset
///
CopyOffset,
///
/// Copies data (Value)
///
CopyValue,
///
/// Copies data ()
///
CopyUInt16,
///
/// Copies data ( Big Endian)
///
CopyUInt16BigEndian,
///
/// Copies data ()
///
CopyUInt32,
///
/// Copies data ( Big Endian)
///
CopyUInt32BigEndian,
///
/// Copies data ()
///
CopyUInt64,
///
/// Copies data ( Big Endian)
///
CopyUInt64BigEndian,
///
/// Copies file offset. If it's a PE file, the position is converted to a position
/// within the PE file on disk. If it's not a PE file, it's the offset relative
/// to the start of the file.
///
CopyFileOffset,
///
/// Copies absolute file offset (the position in the buffer)
///
CopyAbsoluteFileOffset,
///
/// Copies RVA
///
CopyRVA,
///
/// Pastes UTF-8 data
///
PasteUtf8String,
///
/// Pastes 7-bit encoded length followed by UTF-8 bytes
///
PasteUtf8String7BitEncodedLengthPrefix,
///
/// Pastes Unicode (UTF-16) data
///
PasteUnicodeString,
///
/// Pastes 7-bit encoded length followed by Unicode (UTF-16) bytes
///
PasteUnicodeString7BitEncodedLengthPrefix,
///
/// Pastes blob data
///
PasteBlob,
///
/// Shows all bytes ()
///
ShowAllBytes,
///
/// Shows only the selected bytes
///
ShowOnlySelectedBytes,
///
/// Refreshes the screen and clears any read caches
///
Refresh,
///
/// Selects all bytes in the current block, unless the caret is in a memory hole
///
SelectAllBytesBlock,
///
/// Move to the next closest start/end position of a block of memory
///
MoveToNextValidStartEnd,
///
/// Move to the next closest start/end position of a block of memory; extend selection
///
MoveToNextValidStartEndExt,
///
/// Move to the previous closest start/end position of a block of memory
///
MoveToPreviousValidStartEnd,
///
/// Move to the previous closest start/end position of a block of memory; extend selection
///
MoveToPreviousValidStartEndExt,
///
/// Go to high-level code (eg. decompiled code) or other high level structure
///
GoToCodeOrStructure,
///
/// Follows the field reference
///
FollowFieldValueReference,
///
/// Select the most nested file at current position
///
SelectNestedFile,
///
/// Select the non-nested file at current position
///
SelectFile,
///
/// Selects the current structure
///
SelectStructure,
}
}