C# Class dnSpy.Hex.Editor.HexSelectionLayer

Mostra file Open project: 0xd4d/dnSpy Class Usage Examples

Public Methods

Method Description
CreateMarkerElement ( HexBufferSpan fullSpan, System.Windows.Media.Geometry geo ) : void
EditorFormatMap_FormatMappingChanged ( object sender, Microsoft.VisualStudio.Text.Classification e ) : void
HexSelectionLayer ( HexSelectionImpl hexSelection, dnSpy.Contracts.Hex.Editor.HexAdornmentLayer layer, Microsoft.VisualStudio.Text.Classification editorFormatMap ) : System
HexSelection_SelectionChanged ( object sender, EventArgs e ) : void
HexView_LayoutChanged ( object sender, HexViewLayoutChangedEventArgs e ) : void
OnMarkerElementRemoved ( ) : void
OnModeUpdated ( ) : void
Options_OptionChanged ( object sender, Microsoft.VisualStudio.Text.Editor e ) : void
RemoveAllAdornments ( ) : void
SetNewSelection ( ) : void
UpdateBackgroundBrush ( ) : void
UpdateUseReducedOpacityForHighContrastOption ( ) : void

Private Methods

Method Description
CreateStreamSelection ( ) : Geometry>?.KeyValuePair
Dispose ( ) : void
GetBackgroundBrush ( ) : System.Windows.Media.Brush

Method Details

CreateMarkerElement() public method

public CreateMarkerElement ( HexBufferSpan fullSpan, System.Windows.Media.Geometry geo ) : void
fullSpan HexBufferSpan
geo System.Windows.Media.Geometry
return void

EditorFormatMap_FormatMappingChanged() public method

public EditorFormatMap_FormatMappingChanged ( object sender, Microsoft.VisualStudio.Text.Classification e ) : void
sender object
e Microsoft.VisualStudio.Text.Classification
return void

HexSelectionLayer() public method

public HexSelectionLayer ( HexSelectionImpl hexSelection, dnSpy.Contracts.Hex.Editor.HexAdornmentLayer layer, Microsoft.VisualStudio.Text.Classification editorFormatMap ) : System
hexSelection HexSelectionImpl
layer dnSpy.Contracts.Hex.Editor.HexAdornmentLayer
editorFormatMap Microsoft.VisualStudio.Text.Classification
return System

HexSelection_SelectionChanged() public method

public HexSelection_SelectionChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

HexView_LayoutChanged() public method

public HexView_LayoutChanged ( object sender, HexViewLayoutChangedEventArgs e ) : void
sender object
e dnSpy.Contracts.Hex.Editor.HexViewLayoutChangedEventArgs
return void

OnMarkerElementRemoved() public method

public OnMarkerElementRemoved ( ) : void
return void

OnModeUpdated() public method

public OnModeUpdated ( ) : void
return void

Options_OptionChanged() public method

public Options_OptionChanged ( object sender, Microsoft.VisualStudio.Text.Editor e ) : void
sender object
e Microsoft.VisualStudio.Text.Editor
return void

RemoveAllAdornments() public method

public RemoveAllAdornments ( ) : void
return void

SetNewSelection() public method

public SetNewSelection ( ) : void
return void

UpdateBackgroundBrush() public method

public UpdateBackgroundBrush ( ) : void
return void

UpdateUseReducedOpacityForHighContrastOption() public method

public UpdateUseReducedOpacityForHighContrastOption ( ) : void
return void