C# Class dnSpy.Contracts.Hex.Editor.HexView

Hex view
Inheritance: Microsoft.VisualStudio.Utilities.IPropertyOwner
Datei anzeigen Open project: 0xd4d/dnSpy Class Usage Examples

Public Methods

Method Description
Close ( ) : void

Closes the hex view

DisplayHexLineContainingBufferPosition ( HexBufferPoint bufferPosition, double verticalDistance, Microsoft.VisualStudio.Text.Editor relativeTo ) : void

Displays a line in the view

DisplayHexLineContainingBufferPosition ( HexBufferPoint bufferPosition, double verticalDistance, Microsoft.VisualStudio.Text.Editor relativeTo, double viewportWidthOverride, double viewportHeightOverride ) : void

Displays a line in the view

DisplayHexLineContainingBufferPosition ( HexBufferPoint bufferPosition, double verticalDistance, Microsoft.VisualStudio.Text.Editor relativeTo, double viewportWidthOverride, double viewportHeightOverride, DisplayHexLineOptions options ) : void

Displays a line in the view

GetHexViewLineContainingBufferPosition ( HexBufferPoint bufferPosition ) : dnSpy.Contracts.Hex.Formatting.HexViewLine

Gets a hex view line

QueueSpaceReservationStackRefresh ( ) : void

Queues a space reservation stack refresh

Refresh ( ) : void

Refreshes the screen and clears any read caches

Protected Methods

Method Description
HexView ( ) : System

Constructor

Method Details

Close() public abstract method

Closes the hex view
public abstract Close ( ) : void
return void

DisplayHexLineContainingBufferPosition() public method

Displays a line in the view
public DisplayHexLineContainingBufferPosition ( HexBufferPoint bufferPosition, double verticalDistance, Microsoft.VisualStudio.Text.Editor relativeTo ) : void
bufferPosition HexBufferPoint Position
verticalDistance double Distance relative to the top or bottom of the view
relativeTo Microsoft.VisualStudio.Text.Editor The
return void

DisplayHexLineContainingBufferPosition() public method

Displays a line in the view
public DisplayHexLineContainingBufferPosition ( HexBufferPoint bufferPosition, double verticalDistance, Microsoft.VisualStudio.Text.Editor relativeTo, double viewportWidthOverride, double viewportHeightOverride ) : void
bufferPosition HexBufferPoint Position
verticalDistance double Distance relative to the top or bottom of the view
relativeTo Microsoft.VisualStudio.Text.Editor The
viewportWidthOverride double Overrides viewport width
viewportHeightOverride double Overrides viewport height
return void

DisplayHexLineContainingBufferPosition() public abstract method

Displays a line in the view
public abstract DisplayHexLineContainingBufferPosition ( HexBufferPoint bufferPosition, double verticalDistance, Microsoft.VisualStudio.Text.Editor relativeTo, double viewportWidthOverride, double viewportHeightOverride, DisplayHexLineOptions options ) : void
bufferPosition HexBufferPoint Position
verticalDistance double Distance relative to the top or bottom of the view
relativeTo Microsoft.VisualStudio.Text.Editor The
viewportWidthOverride double Overrides viewport width
viewportHeightOverride double Overrides viewport height
options DisplayHexLineOptions Options
return void

GetHexViewLineContainingBufferPosition() public abstract method

Gets a hex view line
public abstract GetHexViewLineContainingBufferPosition ( HexBufferPoint bufferPosition ) : dnSpy.Contracts.Hex.Formatting.HexViewLine
bufferPosition HexBufferPoint Position
return dnSpy.Contracts.Hex.Formatting.HexViewLine

HexView() protected method

Constructor
protected HexView ( ) : System
return System

QueueSpaceReservationStackRefresh() public abstract method

Queues a space reservation stack refresh
public abstract QueueSpaceReservationStackRefresh ( ) : void
return void

Refresh() public abstract method

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