C# 클래스 dnSpy.Hex.Editor.Search.HexViewSearchServiceImpl

상속: HexViewSearchService, INotifyPropertyChanged
파일 보기 프로젝트 열기: 0xd4d/dnSpy

Private Properties

프로퍼티 타입 설명
FindAsync IAsyncSearcher
GetAllResultsForReplaceAll IEnumerable
GetFindOptions OurFindOptions
GetNextSearchPosition HexBufferPoint
GetStartingPosition HexBufferPoint?
GetStartingPosition HexBufferPoint?
GetStringDataKind string
GetsearchControlPosition SearchControlPosition
Intersects bool
IsMultiLineRegexPattern bool
IsReplaceStringValid bool
ReplaceFindNextCore HexBufferSpan?
SelectAllWhenFocused void
StartSearchAsync Task
ToHexChar char
ToHexFindOptions HexFindOptions
TryGetReplaceStringData byte[]
TryGetSearchStringAtCaret string
TryGetSearchStringAtPoint string
TryGetSearchStringFromSelection string

공개 메소드들

메소드 설명
Buffer_BufferSpanInvalidated ( object sender, HexBufferSpanInvalidatedEventArgs e ) : void
CanExecuteSearchControl ( System.Guid group, int cmdId ) : CommandTargetStatus
CancelAllAsyncSearches ( ) : void
CancelAsyncSearch ( ) : void
CancelFindAsyncSearcher ( ) : void
CancelIncrementalSearch ( ) : void
CancelIncrementalSearchAndUpdateMarkers ( ) : void
Caret_PositionChanged ( object sender, dnSpy.Contracts.Hex.Editor.HexCaretPositionChangedEventArgs e ) : void
CleanUpIncrementalSearch ( ) : void
CloseSearchControl ( ) : void
CloseSearchControlIfIncrementalSearch ( ) : void
ExecuteSearchControl ( System.Guid group, int cmdId, object args, object &result ) : CommandTargetStatus
FindNext ( bool forward ) : void
FindNextCore ( OurFindOptions options, HexBufferPoint startingPosition, bool isIncrementalSearch ) : void
FindNextSelected ( bool forward ) : void
FindNextSelectedCore ( bool forward, bool restart ) : void
FocusReplaceStringTextBox ( ) : void
FocusSearchStringTextBox ( ) : void
GetSpans ( NormalizedHexBufferSpanCollection spans ) : IEnumerable
HexViewSearchServiceImpl ( dnSpy.Contracts.Hex.Editor.WpfHexView wpfHexView, HexSearchServiceFactory hexSearchServiceFactory, SearchSettings searchSettings, IMessageBoxService messageBoxService, HexEditorOperationsFactoryService editorOperationsFactoryService ) : System
OnPropertyChanged ( string propName ) : void
PositionSearchControl ( Rect rect ) : void
PositionSearchControl ( SearchControlPosition position ) : void
PositionSearchControl ( double left, double top ) : void
PositionWithoutCoveringSpan ( HexBufferSpan span ) : void
RefreshAllTags ( ) : void
RegisterHexMarkerListener ( IHexMarkerListener listener ) : void
ReplaceAll ( ) : void
ReplaceNext ( ) : void
RepositionControl ( bool recalcSize = false ) : void
RestartSearch ( ) : void
RestartSearchAndUpdateMarkers ( ) : void
SaveSettings ( ) : void
SearchControl_GotKeyboardFocus ( object sender, System.Windows.Input.KeyboardFocusChangedEventArgs e ) : void
SearchControl_LostKeyboardFocus ( object sender, System.Windows.Input.KeyboardFocusChangedEventArgs e ) : void
SearchControl_MouseDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
SearchControl_SizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void
SetIncrementalSearchString ( string newSearchString ) : void
SetSearchKind ( SearchKind value ) : void
SetSearchString ( string newSearchString, bool canSearch = true ) : void
ShowFind ( ) : void
ShowIncrementalSearch ( bool forward ) : void
ShowReplace ( ) : void
ShowSearchControl ( SearchKind searchKind, bool canOverwriteSearchString ) : void
ShowSearchResult ( HexBufferSpan span ) : void
ToggleFindReplace ( ) : void
UpdateHexMarkerSearch ( ) : void
UpdateSearchStringFromCaretPosition ( bool canSearch ) : void
UseGlobalSettings ( bool canOverwriteSearchString ) : void
UseGlobalSettingsIfUiIsHidden ( bool canOverwriteSearchString ) : void
WpfHexView_BufferLinesChanged ( object sender, BufferLinesChangedEventArgs e ) : void
WpfHexView_Closed ( object sender, EventArgs e ) : void
WpfHexView_LayoutChanged ( object sender, HexViewLayoutChangedEventArgs e ) : void

비공개 메소드들

메소드 설명
FindAsync ( SearchOptions searchOptions, HexBufferSpan?>.Action onCompleted ) : IAsyncSearcher
GetAllResultsForReplaceAll ( ) : IEnumerable
GetFindOptions ( SearchKind searchKind, bool forward ) : OurFindOptions
GetNextSearchPosition ( HexBufferSpan span, bool forward ) : HexBufferPoint
GetStartingPosition ( OurFindOptions options, bool restart ) : HexBufferPoint?
GetStartingPosition ( SearchKind searchKind, OurFindOptions options, bool restart ) : HexBufferPoint?
GetStringDataKind ( string encodingName ) : string
GetsearchControlPosition ( HexBufferSpan span ) : SearchControlPosition
Intersects ( HexBufferSpan fullSpan, dnSpy.Contracts.Hex.Formatting.HexViewLine line, Rect rect ) : bool
IsMultiLineRegexPattern ( string s ) : bool
IsReplaceStringValid ( ) : bool
ReplaceFindNextCore ( ) : HexBufferSpan?
SelectAllWhenFocused ( TextBox textBox ) : void
StartSearchAsync ( AsyncSearcher asyncSearcher ) : Task
ToHexChar ( int val, bool upper ) : char
ToHexFindOptions ( OurFindOptions options ) : HexFindOptions
TryGetReplaceStringData ( HexBufferSpan replaceSpan ) : byte[]
TryGetSearchStringAtCaret ( ) : string
TryGetSearchStringAtPoint ( HexBufferPoint point ) : string
TryGetSearchStringFromSelection ( ) : string

메소드 상세

Buffer_BufferSpanInvalidated() 공개 메소드

public Buffer_BufferSpanInvalidated ( object sender, HexBufferSpanInvalidatedEventArgs e ) : void
sender object
e dnSpy.Contracts.Hex.HexBufferSpanInvalidatedEventArgs
리턴 void

CanExecuteSearchControl() 공개 메소드

public CanExecuteSearchControl ( System.Guid group, int cmdId ) : CommandTargetStatus
group System.Guid
cmdId int
리턴 CommandTargetStatus

CancelAllAsyncSearches() 공개 메소드

public CancelAllAsyncSearches ( ) : void
리턴 void

CancelAsyncSearch() 공개 메소드

public CancelAsyncSearch ( ) : void
리턴 void

CancelFindAsyncSearcher() 공개 메소드

public CancelFindAsyncSearcher ( ) : void
리턴 void

CancelIncrementalSearch() 공개 메소드

public CancelIncrementalSearch ( ) : void
리턴 void

CancelIncrementalSearchAndUpdateMarkers() 공개 메소드

public CancelIncrementalSearchAndUpdateMarkers ( ) : void
리턴 void

Caret_PositionChanged() 공개 메소드

public Caret_PositionChanged ( object sender, dnSpy.Contracts.Hex.Editor.HexCaretPositionChangedEventArgs e ) : void
sender object
e dnSpy.Contracts.Hex.Editor.HexCaretPositionChangedEventArgs
리턴 void

CleanUpIncrementalSearch() 공개 메소드

public CleanUpIncrementalSearch ( ) : void
리턴 void

CloseSearchControl() 공개 메소드

public CloseSearchControl ( ) : void
리턴 void

CloseSearchControlIfIncrementalSearch() 공개 메소드

public CloseSearchControlIfIncrementalSearch ( ) : void
리턴 void

ExecuteSearchControl() 공개 메소드

public ExecuteSearchControl ( System.Guid group, int cmdId, object args, object &result ) : CommandTargetStatus
group System.Guid
cmdId int
args object
result object
리턴 CommandTargetStatus

FindNext() 공개 메소드

public FindNext ( bool forward ) : void
forward bool
리턴 void

FindNextCore() 공개 메소드

public FindNextCore ( OurFindOptions options, HexBufferPoint startingPosition, bool isIncrementalSearch ) : void
options OurFindOptions
startingPosition HexBufferPoint
isIncrementalSearch bool
리턴 void

FindNextSelected() 공개 메소드

public FindNextSelected ( bool forward ) : void
forward bool
리턴 void

FindNextSelectedCore() 공개 메소드

public FindNextSelectedCore ( bool forward, bool restart ) : void
forward bool
restart bool
리턴 void

FocusReplaceStringTextBox() 공개 메소드

public FocusReplaceStringTextBox ( ) : void
리턴 void

FocusSearchStringTextBox() 공개 메소드

public FocusSearchStringTextBox ( ) : void
리턴 void

GetSpans() 공개 메소드

public GetSpans ( NormalizedHexBufferSpanCollection spans ) : IEnumerable
spans NormalizedHexBufferSpanCollection
리턴 IEnumerable

HexViewSearchServiceImpl() 공개 메소드

public HexViewSearchServiceImpl ( dnSpy.Contracts.Hex.Editor.WpfHexView wpfHexView, HexSearchServiceFactory hexSearchServiceFactory, SearchSettings searchSettings, IMessageBoxService messageBoxService, HexEditorOperationsFactoryService editorOperationsFactoryService ) : System
wpfHexView dnSpy.Contracts.Hex.Editor.WpfHexView
hexSearchServiceFactory HexSearchServiceFactory
searchSettings SearchSettings
messageBoxService IMessageBoxService
editorOperationsFactoryService dnSpy.Contracts.Hex.Operations.HexEditorOperationsFactoryService
리턴 System

OnPropertyChanged() 공개 메소드

public OnPropertyChanged ( string propName ) : void
propName string
리턴 void

PositionSearchControl() 공개 메소드

public PositionSearchControl ( Rect rect ) : void
rect System.Windows.Rect
리턴 void

PositionSearchControl() 공개 메소드

public PositionSearchControl ( SearchControlPosition position ) : void
position SearchControlPosition
리턴 void

PositionSearchControl() 공개 메소드

public PositionSearchControl ( double left, double top ) : void
left double
top double
리턴 void

PositionWithoutCoveringSpan() 공개 메소드

public PositionWithoutCoveringSpan ( HexBufferSpan span ) : void
span HexBufferSpan
리턴 void

RefreshAllTags() 공개 메소드

public RefreshAllTags ( ) : void
리턴 void

RegisterHexMarkerListener() 공개 메소드

public RegisterHexMarkerListener ( IHexMarkerListener listener ) : void
listener IHexMarkerListener
리턴 void

ReplaceAll() 공개 메소드

public ReplaceAll ( ) : void
리턴 void

ReplaceNext() 공개 메소드

public ReplaceNext ( ) : void
리턴 void

RepositionControl() 공개 메소드

public RepositionControl ( bool recalcSize = false ) : void
recalcSize bool
리턴 void

RestartSearch() 공개 메소드

public RestartSearch ( ) : void
리턴 void

RestartSearchAndUpdateMarkers() 공개 메소드

public RestartSearchAndUpdateMarkers ( ) : void
리턴 void

SaveSettings() 공개 메소드

public SaveSettings ( ) : void
리턴 void

SearchControl_GotKeyboardFocus() 공개 메소드

public SearchControl_GotKeyboardFocus ( object sender, System.Windows.Input.KeyboardFocusChangedEventArgs e ) : void
sender object
e System.Windows.Input.KeyboardFocusChangedEventArgs
리턴 void

SearchControl_LostKeyboardFocus() 공개 메소드

public SearchControl_LostKeyboardFocus ( object sender, System.Windows.Input.KeyboardFocusChangedEventArgs e ) : void
sender object
e System.Windows.Input.KeyboardFocusChangedEventArgs
리턴 void

SearchControl_MouseDown() 공개 메소드

public SearchControl_MouseDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
sender object
e System.Windows.Input.MouseButtonEventArgs
리턴 void

SearchControl_SizeChanged() 공개 메소드

public SearchControl_SizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void
sender object
e System.Windows.SizeChangedEventArgs
리턴 void

SetIncrementalSearchString() 공개 메소드

public SetIncrementalSearchString ( string newSearchString ) : void
newSearchString string
리턴 void

SetSearchKind() 공개 메소드

public SetSearchKind ( SearchKind value ) : void
value SearchKind
리턴 void

SetSearchString() 공개 메소드

public SetSearchString ( string newSearchString, bool canSearch = true ) : void
newSearchString string
canSearch bool
리턴 void

ShowFind() 공개 메소드

public ShowFind ( ) : void
리턴 void

ShowIncrementalSearch() 공개 메소드

public ShowIncrementalSearch ( bool forward ) : void
forward bool
리턴 void

ShowReplace() 공개 메소드

public ShowReplace ( ) : void
리턴 void

ShowSearchControl() 공개 메소드

public ShowSearchControl ( SearchKind searchKind, bool canOverwriteSearchString ) : void
searchKind SearchKind
canOverwriteSearchString bool
리턴 void

ShowSearchResult() 공개 메소드

public ShowSearchResult ( HexBufferSpan span ) : void
span HexBufferSpan
리턴 void

ToggleFindReplace() 공개 메소드

public ToggleFindReplace ( ) : void
리턴 void

UpdateHexMarkerSearch() 공개 메소드

public UpdateHexMarkerSearch ( ) : void
리턴 void

UpdateSearchStringFromCaretPosition() 공개 메소드

public UpdateSearchStringFromCaretPosition ( bool canSearch ) : void
canSearch bool
리턴 void

UseGlobalSettings() 공개 메소드

public UseGlobalSettings ( bool canOverwriteSearchString ) : void
canOverwriteSearchString bool
리턴 void

UseGlobalSettingsIfUiIsHidden() 공개 메소드

public UseGlobalSettingsIfUiIsHidden ( bool canOverwriteSearchString ) : void
canOverwriteSearchString bool
리턴 void

WpfHexView_BufferLinesChanged() 공개 메소드

public WpfHexView_BufferLinesChanged ( object sender, BufferLinesChangedEventArgs e ) : void
sender object
e dnSpy.Contracts.Hex.Editor.BufferLinesChangedEventArgs
리턴 void

WpfHexView_Closed() 공개 메소드

public WpfHexView_Closed ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
리턴 void

WpfHexView_LayoutChanged() 공개 메소드

public WpfHexView_LayoutChanged ( object sender, HexViewLayoutChangedEventArgs e ) : void
sender object
e dnSpy.Contracts.Hex.Editor.HexViewLayoutChangedEventArgs
리턴 void