C# 클래스 dnSpy.Contracts.Hex.Operations.HexEditorOperations

Hex editor operations
파일 보기 프로젝트 열기: 0xd4d/dnSpy 1 사용 예제들

공개 메소드들

메소드 설명
ClearData ( ) : bool

Clears data

CopySelectionBytes ( ) : bool

Copy selection, bytes (as text)

CopySelectionText ( ) : bool

Copy selection, UI text

CopySpecial ( HexCopySpecialKind copyKind ) : bool

Copies text to the clipboard

ExtendSelection ( HexBufferPoint newEnd ) : void

Extend selection

InsertText ( string text ) : bool

Inserts text

MoveCaret ( dnSpy.Contracts.Hex.Formatting.HexViewLine hexLine, double horizontalOffset, bool extendSelection ) : void

Move caret to a line

MoveCaret ( dnSpy.Contracts.Hex.Formatting.HexViewLine hexLine, double horizontalOffset, bool extendSelection, HexMoveToFlags flags ) : void

Move caret to a line

MoveCurrentLineToBottom ( ) : void

Move current line to bottom of the view

MoveCurrentLineToTop ( ) : void

Move current line to top of the view

MoveLineDown ( bool extendSelection ) : void

Move down a line

MoveLineUp ( bool extendSelection ) : void

Move up a line

MoveToBottomOfView ( bool extendSelection ) : void

Move the caret to the bottom of the view

MoveToEndOfDocument ( bool extendSelection ) : void

Move to end of document

MoveToEndOfLine ( bool extendSelection ) : void

Move to the end of the line

MoveToNextCharacter ( bool extendSelection ) : void

Moves the caret to the next character

MoveToNextValidStartEnd ( bool extendSelection ) : void

Move to the next closest start/end position of a block of memory

MoveToNextWord ( bool extendSelection ) : void

Moves the caret to the next word (cell)

MoveToPreviousCharacter ( bool extendSelection ) : void

Moves the caret to the previous character

MoveToPreviousValidStartEnd ( bool extendSelection ) : void

Move to the previous closest start/end position of a block of memory

MoveToPreviousWord ( bool extendSelection ) : void

Moves the caret to the previous word (cell)

MoveToStartOfDocument ( bool extendSelection ) : void

Move to start of document

MoveToStartOfLine ( bool extendSelection ) : void

Move to the start of the line

MoveToTopOfView ( bool extendSelection ) : void

Move the caret to the top of the view

PageDown ( bool extendSelection ) : void

Page down

PageUp ( bool extendSelection ) : void

Page up

Paste ( ) : bool

Paste

PasteSpecial ( HexPasteSpecialKind pasteKind ) : bool

Pastes data from the clipboard

Refresh ( ) : void

Refreshes the screen and clears any read caches

ResetSelection ( ) : void

Reset selection

ScrollColumnLeft ( ) : void

Scoll one column left

ScrollColumnRight ( ) : void

Scoll one column right

ScrollDownAndMoveCaretIfNecessary ( ) : void

Scroll down and move caret so it's within the viewport

ScrollLineBottom ( ) : void

Move current line to the bottom of the view, don't move the caret

ScrollLineCenter ( ) : void

Move current line to the center of the view, don't move the caret

ScrollLineTop ( ) : void

Move current line to the top of the view, don't move the caret

ScrollPageDown ( ) : void

Page down, but don't move caret

ScrollPageUp ( ) : void

Page up, but don't move caret

ScrollUpAndMoveCaretIfNecessary ( ) : void

Scroll up and move caret so it's within the viewport

SelectAll ( ) : void

Select all

SelectAllBytesBlock ( ) : void

Selects all bytes in the current block, unless the caret is in a memory hole

SelectAndMoveCaret ( HexColumnType column, HexBufferPoint anchorPoint, HexBufferPoint activePoint, bool alignPoints ) : void

Selects data and moves the caret

SelectAndMoveCaret ( HexColumnType column, HexBufferPoint anchorPoint, HexBufferPoint activePoint, bool alignPoints, Microsoft.VisualStudio.Text.Editor scrollOptions ) : void

Selects data and moves the caret

SelectCurrentWord ( ) : void

Selects the current word (cell)

SelectLine ( dnSpy.Contracts.Hex.Formatting.HexViewLine viewLine, bool extendSelection ) : void

Selects the line

ShowAllBytes ( ) : void

Shows all bytes (HexBuffer.Span)

ShowOnlySelectedBytes ( ) : void

Shows only the selected bytes

SwapCaretAndAnchor ( ) : void

Swap selection caret and anchor positions

ToggleColumn ( ) : void

Toggles active column

ZoomIn ( ) : void

Zoom in

ZoomOut ( ) : void

Zoom out

ZoomTo ( double zoomLevel ) : void

Zoom to zoomLevel

보호된 메소드들

메소드 설명
HexEditorOperations ( ) : dnSpy.Contracts.Hex.Editor

Constructor

메소드 상세

ClearData() 공개 추상적인 메소드

Clears data
public abstract ClearData ( ) : bool
리턴 bool

CopySelectionBytes() 공개 추상적인 메소드

Copy selection, bytes (as text)
public abstract CopySelectionBytes ( ) : bool
리턴 bool

CopySelectionText() 공개 추상적인 메소드

Copy selection, UI text
public abstract CopySelectionText ( ) : bool
리턴 bool

CopySpecial() 공개 추상적인 메소드

Copies text to the clipboard
public abstract CopySpecial ( HexCopySpecialKind copyKind ) : bool
copyKind HexCopySpecialKind What kind of data to copy
리턴 bool

ExtendSelection() 공개 추상적인 메소드

Extend selection
public abstract ExtendSelection ( HexBufferPoint newEnd ) : void
newEnd HexBufferPoint New end position
리턴 void

HexEditorOperations() 보호된 메소드

Constructor
protected HexEditorOperations ( ) : dnSpy.Contracts.Hex.Editor
리턴 dnSpy.Contracts.Hex.Editor

InsertText() 공개 추상적인 메소드

Inserts text
public abstract InsertText ( string text ) : bool
text string Text
리턴 bool

MoveCaret() 공개 메소드

Move caret to a line
public MoveCaret ( dnSpy.Contracts.Hex.Formatting.HexViewLine hexLine, double horizontalOffset, bool extendSelection ) : void
hexLine dnSpy.Contracts.Hex.Formatting.HexViewLine Line
horizontalOffset double Horizontal offset
extendSelection bool true to extend the selection
리턴 void

MoveCaret() 공개 추상적인 메소드

Move caret to a line
public abstract MoveCaret ( dnSpy.Contracts.Hex.Formatting.HexViewLine hexLine, double horizontalOffset, bool extendSelection, HexMoveToFlags flags ) : void
hexLine dnSpy.Contracts.Hex.Formatting.HexViewLine Line
horizontalOffset double Horizontal offset
extendSelection bool true to extend the selection
flags HexMoveToFlags Flags
리턴 void

MoveCurrentLineToBottom() 공개 추상적인 메소드

Move current line to bottom of the view
public abstract MoveCurrentLineToBottom ( ) : void
리턴 void

MoveCurrentLineToTop() 공개 추상적인 메소드

Move current line to top of the view
public abstract MoveCurrentLineToTop ( ) : void
리턴 void

MoveLineDown() 공개 추상적인 메소드

Move down a line
public abstract MoveLineDown ( bool extendSelection ) : void
extendSelection bool true to extend the selection
리턴 void

MoveLineUp() 공개 추상적인 메소드

Move up a line
public abstract MoveLineUp ( bool extendSelection ) : void
extendSelection bool true to extend the selection
리턴 void

MoveToBottomOfView() 공개 추상적인 메소드

Move the caret to the bottom of the view
public abstract MoveToBottomOfView ( bool extendSelection ) : void
extendSelection bool true to extend the selection
리턴 void

MoveToEndOfDocument() 공개 추상적인 메소드

Move to end of document
public abstract MoveToEndOfDocument ( bool extendSelection ) : void
extendSelection bool true to extend the selection
리턴 void

MoveToEndOfLine() 공개 추상적인 메소드

Move to the end of the line
public abstract MoveToEndOfLine ( bool extendSelection ) : void
extendSelection bool true to extend the selection
리턴 void

MoveToNextCharacter() 공개 추상적인 메소드

Moves the caret to the next character
public abstract MoveToNextCharacter ( bool extendSelection ) : void
extendSelection bool true to extend the selection
리턴 void

MoveToNextValidStartEnd() 공개 추상적인 메소드

Move to the next closest start/end position of a block of memory
public abstract MoveToNextValidStartEnd ( bool extendSelection ) : void
extendSelection bool true to extend the selection
리턴 void

MoveToNextWord() 공개 추상적인 메소드

Moves the caret to the next word (cell)
public abstract MoveToNextWord ( bool extendSelection ) : void
extendSelection bool true to extend the selection
리턴 void

MoveToPreviousCharacter() 공개 추상적인 메소드

Moves the caret to the previous character
public abstract MoveToPreviousCharacter ( bool extendSelection ) : void
extendSelection bool true to extend the selection
리턴 void

MoveToPreviousValidStartEnd() 공개 추상적인 메소드

Move to the previous closest start/end position of a block of memory
public abstract MoveToPreviousValidStartEnd ( bool extendSelection ) : void
extendSelection bool true to extend the selection
리턴 void

MoveToPreviousWord() 공개 추상적인 메소드

Moves the caret to the previous word (cell)
public abstract MoveToPreviousWord ( bool extendSelection ) : void
extendSelection bool true to extend the selection
리턴 void

MoveToStartOfDocument() 공개 추상적인 메소드

Move to start of document
public abstract MoveToStartOfDocument ( bool extendSelection ) : void
extendSelection bool true to extend the selection
리턴 void

MoveToStartOfLine() 공개 추상적인 메소드

Move to the start of the line
public abstract MoveToStartOfLine ( bool extendSelection ) : void
extendSelection bool true to extend the selection
리턴 void

MoveToTopOfView() 공개 추상적인 메소드

Move the caret to the top of the view
public abstract MoveToTopOfView ( bool extendSelection ) : void
extendSelection bool true to extend the selection
리턴 void

PageDown() 공개 추상적인 메소드

Page down
public abstract PageDown ( bool extendSelection ) : void
extendSelection bool true to extend the selection
리턴 void

PageUp() 공개 추상적인 메소드

Page up
public abstract PageUp ( bool extendSelection ) : void
extendSelection bool true to extend the selection
리턴 void

Paste() 공개 추상적인 메소드

Paste
public abstract Paste ( ) : bool
리턴 bool

PasteSpecial() 공개 추상적인 메소드

Pastes data from the clipboard
public abstract PasteSpecial ( HexPasteSpecialKind pasteKind ) : bool
pasteKind HexPasteSpecialKind What kind of data to paste
리턴 bool

Refresh() 공개 추상적인 메소드

Refreshes the screen and clears any read caches
public abstract Refresh ( ) : void
리턴 void

ResetSelection() 공개 추상적인 메소드

Reset selection
public abstract ResetSelection ( ) : void
리턴 void

ScrollColumnLeft() 공개 추상적인 메소드

Scoll one column left
public abstract ScrollColumnLeft ( ) : void
리턴 void

ScrollColumnRight() 공개 추상적인 메소드

Scoll one column right
public abstract ScrollColumnRight ( ) : void
리턴 void

ScrollDownAndMoveCaretIfNecessary() 공개 추상적인 메소드

Scroll down and move caret so it's within the viewport
public abstract ScrollDownAndMoveCaretIfNecessary ( ) : void
리턴 void

ScrollLineBottom() 공개 추상적인 메소드

Move current line to the bottom of the view, don't move the caret
public abstract ScrollLineBottom ( ) : void
리턴 void

ScrollLineCenter() 공개 추상적인 메소드

Move current line to the center of the view, don't move the caret
public abstract ScrollLineCenter ( ) : void
리턴 void

ScrollLineTop() 공개 추상적인 메소드

Move current line to the top of the view, don't move the caret
public abstract ScrollLineTop ( ) : void
리턴 void

ScrollPageDown() 공개 추상적인 메소드

Page down, but don't move caret
public abstract ScrollPageDown ( ) : void
리턴 void

ScrollPageUp() 공개 추상적인 메소드

Page up, but don't move caret
public abstract ScrollPageUp ( ) : void
리턴 void

ScrollUpAndMoveCaretIfNecessary() 공개 추상적인 메소드

Scroll up and move caret so it's within the viewport
public abstract ScrollUpAndMoveCaretIfNecessary ( ) : void
리턴 void

SelectAll() 공개 추상적인 메소드

Select all
public abstract SelectAll ( ) : void
리턴 void

SelectAllBytesBlock() 공개 추상적인 메소드

Selects all bytes in the current block, unless the caret is in a memory hole
public abstract SelectAllBytesBlock ( ) : void
리턴 void

SelectAndMoveCaret() 공개 메소드

Selects data and moves the caret
public SelectAndMoveCaret ( HexColumnType column, HexBufferPoint anchorPoint, HexBufferPoint activePoint, bool alignPoints ) : void
column HexColumnType Column
anchorPoint HexBufferPoint Anchor position
activePoint HexBufferPoint Active position
alignPoints bool true to align the span to include all bytes of the cells
리턴 void

SelectAndMoveCaret() 공개 추상적인 메소드

Selects data and moves the caret
public abstract SelectAndMoveCaret ( HexColumnType column, HexBufferPoint anchorPoint, HexBufferPoint activePoint, bool alignPoints, Microsoft.VisualStudio.Text.Editor scrollOptions ) : void
column HexColumnType Column
anchorPoint HexBufferPoint Anchor position
activePoint HexBufferPoint Active position
alignPoints bool true to align the span to include all bytes of the cells
scrollOptions Microsoft.VisualStudio.Text.Editor Scroll options
리턴 void

SelectCurrentWord() 공개 추상적인 메소드

Selects the current word (cell)
public abstract SelectCurrentWord ( ) : void
리턴 void

SelectLine() 공개 추상적인 메소드

Selects the line
public abstract SelectLine ( dnSpy.Contracts.Hex.Formatting.HexViewLine viewLine, bool extendSelection ) : void
viewLine dnSpy.Contracts.Hex.Formatting.HexViewLine Line
extendSelection bool true to extend the selection
리턴 void

ShowAllBytes() 공개 추상적인 메소드

Shows all bytes (HexBuffer.Span)
public abstract ShowAllBytes ( ) : void
리턴 void

ShowOnlySelectedBytes() 공개 추상적인 메소드

Shows only the selected bytes
public abstract ShowOnlySelectedBytes ( ) : void
리턴 void

SwapCaretAndAnchor() 공개 추상적인 메소드

Swap selection caret and anchor positions
public abstract SwapCaretAndAnchor ( ) : void
리턴 void

ToggleColumn() 공개 추상적인 메소드

Toggles active column
public abstract ToggleColumn ( ) : void
리턴 void

ZoomIn() 공개 추상적인 메소드

Zoom in
public abstract ZoomIn ( ) : void
리턴 void

ZoomOut() 공개 추상적인 메소드

Zoom out
public abstract ZoomOut ( ) : void
리턴 void

ZoomTo() 공개 추상적인 메소드

Zoom to zoomLevel
public abstract ZoomTo ( double zoomLevel ) : void
zoomLevel double Zoom level, between 20% and 400% (20.0 and 400.0)
리턴 void