61 lines
1.3 KiB
C#
61 lines
1.3 KiB
C#
|
|
namespace Unity.CodeEditor.Editing
|
||
|
|
{
|
||
|
|
internal enum EditingCommand
|
||
|
|
{
|
||
|
|
None,
|
||
|
|
Delete,
|
||
|
|
Copy,
|
||
|
|
Cut,
|
||
|
|
Paste,
|
||
|
|
DeleteNextWord,
|
||
|
|
Backspace,
|
||
|
|
DeletePreviousWord,
|
||
|
|
EnterParagraphBreak,
|
||
|
|
EnterLineBreak,
|
||
|
|
TabForward,
|
||
|
|
TabBackward,
|
||
|
|
ToggleOverstrike,
|
||
|
|
DeleteLine,
|
||
|
|
IndentSelection,
|
||
|
|
Undo,
|
||
|
|
Redo,
|
||
|
|
}
|
||
|
|
|
||
|
|
internal enum CaretNavigationCommand
|
||
|
|
{
|
||
|
|
None,
|
||
|
|
MoveLeftByCharacter,
|
||
|
|
SelectLeftByCharacter,
|
||
|
|
MoveRightByCharacter,
|
||
|
|
SelectRightByCharacter,
|
||
|
|
MoveLeftByWord,
|
||
|
|
SelectLeftByWord,
|
||
|
|
MoveRightByWord,
|
||
|
|
SelectRightByWord,
|
||
|
|
MoveUpByLine,
|
||
|
|
SelectUpByLine,
|
||
|
|
MoveDownByLine,
|
||
|
|
SelectDownByLine,
|
||
|
|
MoveDownByPage,
|
||
|
|
SelectDownByPage,
|
||
|
|
MoveUpByPage,
|
||
|
|
SelectUpByPage,
|
||
|
|
MoveToLineStart,
|
||
|
|
SelectToLineStart,
|
||
|
|
MoveToLineEnd,
|
||
|
|
SelectToLineEnd,
|
||
|
|
MoveToDocumentStart,
|
||
|
|
SelectToDocumentStart,
|
||
|
|
MoveToDocumentEnd,
|
||
|
|
SelectToDocumentEnd,
|
||
|
|
BoxSelectLeftByCharacter,
|
||
|
|
BoxSelectRightByCharacter,
|
||
|
|
BoxSelectLeftByWord,
|
||
|
|
BoxSelectRightByWord,
|
||
|
|
BoxSelectUpByLine,
|
||
|
|
BoxSelectDownByLine,
|
||
|
|
BoxSelectToLineStart,
|
||
|
|
BoxSelectToLineEnd,
|
||
|
|
SelectAll,
|
||
|
|
}
|
||
|
|
}
|