C# Class dnSpy.Hex.Editor.WpfHexViewImpl

Inheritance: dnSpy.Contracts.Hex.Editor.WpfHexView
Mostra file Open project: 0xd4d/dnSpy Class Usage Examples

Private Properties

Property Type Description
AggregateClassifier_ClassificationChanged void
BufferChangedCommon void
Buffer_BufferSpanInvalidated void
ClassificationFormatMap_ClassificationFormatMappingChanged void
CreateCursorProviders HexCursorProvider[]
CreateFormattedLineSource void
CreatePhysicalLineNoCache dnSpy.Hex.Formatting.PhysicalLine
CreatePhysicalLineNoCache dnSpy.Hex.Formatting.PhysicalLine
DelayLayoutLines void
DelayLayoutLinesHandler void
DelayScreenRefresh void
DisplayLines void
DoDelayDisplayLines void
EditorFormatMap_FormatMappingChanged void
EditorOptions_OptionChanged void
GetHexBufferLineFormatterOptions HexBufferLineFormatterOptions
GetLayerKind HexLayerKind
GetValidCachedLines List
HexAndAdornmentSequencer_SequenceChanged void
HexBuffer_ChangedLowPriority void
HexCursorProviderInfoCollection_CursorChanged void
InitializeOptions void
InitializeZoom void
InvalidateFormattedLineSource void
InvalidateHexBufferLineFormatter void
InvalidateSpan void
InvalidateSpans void
IsMouseOverOverlayLayerElement bool
MetroWindow_WindowDpiChanged void
NotifyHexViewCreated void
OnIsKeyboardFocusWithinChanged void
OnPropertyChanged void
OnRenderSizeChanged void
RaiseBufferLinesChanged void
RaiseLayoutChanged void
RaiseLayoutChanged void
RefreshScreen void
RefreshScreenHandler void
ShouldQueueSpaceReservationStackRefresh bool
SpaceReservationStack_GotAggregateFocus void
SpaceReservationStack_LostAggregateFocus void
StopRefreshTimer void
UpdateBackground void
UpdateForceClearTypeIfNeeded void
UpdateKeyboardFocus void
UpdateOption void
UpdateRemoveExtraTextLineVerticalPixels void
UpdateVisibleLines void
UpdateVisibleLines void
WpfHexView_IsVisibleChanged void
WpfHexView_Loaded void

Public Methods

Method Description
Close ( ) : void
DisplayHexLineContainingBufferPosition ( HexBufferPoint bufferPosition, double verticalDistance, Microsoft.VisualStudio.Text.Editor relativeTo, double viewportWidthOverride, double viewportHeightOverride, DisplayHexLineOptions options ) : void
GetAdornmentLayer ( string name ) : dnSpy.Contracts.Hex.Editor.HexAdornmentLayer
GetHexViewLineContainingBufferPosition ( HexBufferPoint bufferPosition ) : dnSpy.Contracts.Hex.Formatting.HexViewLine
GetSpaceReservationManager ( string name ) : dnSpy.Contracts.Hex.Editor.HexSpaceReservationManager
GetWpfHexViewLineContainingBufferPosition ( HexBufferPoint bufferPosition ) : WpfHexViewLine
QueueSpaceReservationStackRefresh ( ) : void
Refresh ( ) : void
WpfHexViewImpl ( HexBuffer buffer, Microsoft.VisualStudio.Text.Editor roles, Microsoft.VisualStudio.Text.Editor parentOptions, dnSpy.Contracts.Hex.Editor.HexEditorOptionsFactoryService hexEditorOptionsFactoryService, ICommandService commandService, dnSpy.Contracts.Hex.Formatting.FormattedHexSourceFactoryService formattedHexSourceFactoryService, dnSpy.Contracts.Hex.Classification.HexViewClassifierAggregatorService hexViewClassifierAggregatorService, dnSpy.Contracts.Hex.Formatting.HexAndAdornmentSequencerFactoryService hexAndAdornmentSequencerFactoryService, HexBufferLineFormatterFactoryService bufferLineProviderFactoryService, dnSpy.Contracts.Hex.Classification.HexClassificationFormatMapService classificationFormatMapService, dnSpy.Contracts.Hex.Classification.HexEditorFormatMapService editorFormatMapService, dnSpy.Hex.Editor.HexAdornmentLayerDefinitionService adornmentLayerDefinitionService, dnSpy.Hex.Formatting.HexLineTransformProviderService lineTransformProviderService, HexSpaceReservationStackProvider spaceReservationStackProvider, IDeferrableTextViewRoleMetadata>.Lazy wpfHexViewCreationListeners, Microsoft.VisualStudio.Text.Classification classificationTypeRegistryService, ITextViewRoleMetadata>.Lazy hexCursorProviderFactories ) : System

Private Methods

Method Description
AggregateClassifier_ClassificationChanged ( object sender, dnSpy.Contracts.Hex.Classification.HexClassificationChangedEventArgs e ) : void
BufferChangedCommon ( ) : void
Buffer_BufferSpanInvalidated ( object sender, HexBufferSpanInvalidatedEventArgs e ) : void
ClassificationFormatMap_ClassificationFormatMappingChanged ( object sender, EventArgs e ) : void
CreateCursorProviders ( ITextViewRoleMetadata>.Lazy hexCursorProviderFactories ) : HexCursorProvider[]
CreateFormattedLineSource ( double viewportWidthOverride ) : void
CreatePhysicalLineNoCache ( HexBufferLineFormatter bufferLines, dnSpy.Contracts.Hex.Formatting.HexFormattedLineSource formattedLineSource, HexBufferPoint bufferPosition ) : dnSpy.Hex.Formatting.PhysicalLine
CreatePhysicalLineNoCache ( HexBufferPoint bufferPosition, double viewportWidthOverride ) : dnSpy.Hex.Formatting.PhysicalLine
DelayLayoutLines ( bool refreshAllLines = false ) : void
DelayLayoutLinesHandler ( ) : void
DelayScreenRefresh ( ) : void
DisplayLines ( HexBufferPoint bufferPosition, double verticalDistance, Microsoft.VisualStudio.Text.Editor relativeTo, double viewportWidthOverride, double viewportHeightOverride, DisplayHexLineOptions options, double newViewportTop ) : void
DoDelayDisplayLines ( ) : void
EditorFormatMap_FormatMappingChanged ( object sender, Microsoft.VisualStudio.Text.Classification e ) : void
EditorOptions_OptionChanged ( object sender, Microsoft.VisualStudio.Text.Editor e ) : void
GetHexBufferLineFormatterOptions ( ) : HexBufferLineFormatterOptions
GetLayerKind ( IAdornmentLayersMetadata md ) : HexLayerKind
GetValidCachedLines ( NormalizedHexBufferSpanCollection regionsToInvalidate ) : List
HexAndAdornmentSequencer_SequenceChanged ( object sender, dnSpy.Contracts.Hex.Formatting.HexAndAdornmentSequenceChangedEventArgs e ) : void
HexBuffer_ChangedLowPriority ( object sender, dnSpy.Contracts.Hex.HexContentChangedEventArgs e ) : void
HexCursorProviderInfoCollection_CursorChanged ( System.Windows.Input.Cursor newCursor ) : void
InitializeOptions ( ) : void
InitializeZoom ( ) : void
InvalidateFormattedLineSource ( bool refreshAllLines ) : void
InvalidateHexBufferLineFormatter ( ) : void
InvalidateSpan ( HexBufferSpan span ) : void
InvalidateSpans ( IEnumerable spans ) : void
IsMouseOverOverlayLayerElement ( System.Windows.Input.MouseEventArgs e ) : bool
MetroWindow_WindowDpiChanged ( object sender, EventArgs e ) : void
NotifyHexViewCreated ( ) : void
OnIsKeyboardFocusWithinChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnPropertyChanged ( System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnRenderSizeChanged ( System.Windows.SizeChangedInfo sizeInfo ) : void
RaiseBufferLinesChanged ( HexBufferLineFormatter oldBufferLines ) : void
RaiseLayoutChanged ( ) : void
RaiseLayoutChanged ( double effectiveViewportWidth, double effectiveViewportHeight, dnSpy.Contracts.Hex.Formatting.HexViewLine newOrReformattedLines, dnSpy.Contracts.Hex.Formatting.HexViewLine translatedLines ) : void
RefreshScreen ( ) : void
RefreshScreenHandler ( object sender, EventArgs e ) : void
ShouldQueueSpaceReservationStackRefresh ( HexViewLayoutChangedEventArgs e ) : bool
SpaceReservationStack_GotAggregateFocus ( object sender, EventArgs e ) : void
SpaceReservationStack_LostAggregateFocus ( object sender, EventArgs e ) : void
StopRefreshTimer ( ) : void
UpdateBackground ( ) : void
UpdateForceClearTypeIfNeeded ( ) : void
UpdateKeyboardFocus ( ) : void
UpdateOption ( string optionId ) : void
UpdateRemoveExtraTextLineVerticalPixels ( ) : void
UpdateVisibleLines ( ) : void
UpdateVisibleLines ( double viewportWidthOverride, double ViewportHeightOverride ) : void
WpfHexView_IsVisibleChanged ( object sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void
WpfHexView_Loaded ( object sender, RoutedEventArgs e ) : void

Method Details

Close() public method

public Close ( ) : void
return void

DisplayHexLineContainingBufferPosition() public method

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

GetAdornmentLayer() public method

public GetAdornmentLayer ( string name ) : dnSpy.Contracts.Hex.Editor.HexAdornmentLayer
name string
return dnSpy.Contracts.Hex.Editor.HexAdornmentLayer

GetHexViewLineContainingBufferPosition() public method

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

GetSpaceReservationManager() public method

public GetSpaceReservationManager ( string name ) : dnSpy.Contracts.Hex.Editor.HexSpaceReservationManager
name string
return dnSpy.Contracts.Hex.Editor.HexSpaceReservationManager

GetWpfHexViewLineContainingBufferPosition() public method

public GetWpfHexViewLineContainingBufferPosition ( HexBufferPoint bufferPosition ) : WpfHexViewLine
bufferPosition HexBufferPoint
return WpfHexViewLine

QueueSpaceReservationStackRefresh() public method

public QueueSpaceReservationStackRefresh ( ) : void
return void

Refresh() public method

public Refresh ( ) : void
return void

WpfHexViewImpl() public method

public WpfHexViewImpl ( HexBuffer buffer, Microsoft.VisualStudio.Text.Editor roles, Microsoft.VisualStudio.Text.Editor parentOptions, dnSpy.Contracts.Hex.Editor.HexEditorOptionsFactoryService hexEditorOptionsFactoryService, ICommandService commandService, dnSpy.Contracts.Hex.Formatting.FormattedHexSourceFactoryService formattedHexSourceFactoryService, dnSpy.Contracts.Hex.Classification.HexViewClassifierAggregatorService hexViewClassifierAggregatorService, dnSpy.Contracts.Hex.Formatting.HexAndAdornmentSequencerFactoryService hexAndAdornmentSequencerFactoryService, HexBufferLineFormatterFactoryService bufferLineProviderFactoryService, dnSpy.Contracts.Hex.Classification.HexClassificationFormatMapService classificationFormatMapService, dnSpy.Contracts.Hex.Classification.HexEditorFormatMapService editorFormatMapService, dnSpy.Hex.Editor.HexAdornmentLayerDefinitionService adornmentLayerDefinitionService, dnSpy.Hex.Formatting.HexLineTransformProviderService lineTransformProviderService, HexSpaceReservationStackProvider spaceReservationStackProvider, IDeferrableTextViewRoleMetadata>.Lazy wpfHexViewCreationListeners, Microsoft.VisualStudio.Text.Classification classificationTypeRegistryService, ITextViewRoleMetadata>.Lazy hexCursorProviderFactories ) : System
buffer dnSpy.Contracts.Hex.HexBuffer
roles Microsoft.VisualStudio.Text.Editor
parentOptions Microsoft.VisualStudio.Text.Editor
hexEditorOptionsFactoryService dnSpy.Contracts.Hex.Editor.HexEditorOptionsFactoryService
commandService ICommandService
formattedHexSourceFactoryService dnSpy.Contracts.Hex.Formatting.FormattedHexSourceFactoryService
hexViewClassifierAggregatorService dnSpy.Contracts.Hex.Classification.HexViewClassifierAggregatorService
hexAndAdornmentSequencerFactoryService dnSpy.Contracts.Hex.Formatting.HexAndAdornmentSequencerFactoryService
bufferLineProviderFactoryService dnSpy.Contracts.Hex.HexBufferLineFormatterFactoryService
classificationFormatMapService dnSpy.Contracts.Hex.Classification.HexClassificationFormatMapService
editorFormatMapService dnSpy.Contracts.Hex.Classification.HexEditorFormatMapService
adornmentLayerDefinitionService dnSpy.Hex.Editor.HexAdornmentLayerDefinitionService
lineTransformProviderService dnSpy.Hex.Formatting.HexLineTransformProviderService
spaceReservationStackProvider HexSpaceReservationStackProvider
wpfHexViewCreationListeners IDeferrableTextViewRoleMetadata>.Lazy
classificationTypeRegistryService Microsoft.VisualStudio.Text.Classification
hexCursorProviderFactories ITextViewRoleMetadata>.Lazy
return System