C# 클래스 NetIde.Core.TextEditor.TextEditorControl.TextEditorElementProvider.TextRangeProvider

상속: ITextRangeProvider
파일 보기 프로젝트 열기: netide/netide

Private Properties

프로퍼티 타입 설명
FindOffset int
GetAttributeValue object
GetColor int

공개 메소드들

메소드 설명
AddToSelection ( ) : void
Clone ( ) : ITextRangeProvider
Compare ( ITextRangeProvider range ) : bool
CompareEndpoints ( TextPatternRangeEndpoint endpoint, ITextRangeProvider targetRange, TextPatternRangeEndpoint targetEndpoint ) : int
ExpandToEnclosingUnit ( TextUnit unit ) : void
FindAttribute ( int attribute, object value, bool backward ) : ITextRangeProvider
FindText ( string text, bool backward, bool ignoreCase ) : ITextRangeProvider
GetAttributeValue ( int attribute ) : object
GetBoundingRectangles ( ) : double[]
GetChildren ( ) : System.Windows.Automation.Provider.IRawElementProviderSimple[]
GetEnclosingElement ( ) : System.Windows.Automation.Provider.IRawElementProviderSimple
GetText ( int maxLength ) : string
Move ( TextUnit unit, int count ) : int
MoveEndpointByRange ( TextPatternRangeEndpoint endpoint, ITextRangeProvider targetRange, TextPatternRangeEndpoint targetEndpoint ) : void
MoveEndpointByUnit ( TextPatternRangeEndpoint endpoint, TextUnit unit, int count ) : int
RemoveFromSelection ( ) : void
ScrollIntoView ( bool alignToTop ) : void
Select ( ) : void
TextRangeProvider ( TextEditorControl control, ISelection selection ) : System

비공개 메소드들

메소드 설명
FindOffset ( int offset, TextUnit unit, bool forward ) : int
GetAttributeValue ( AutomationTextAttribute attribute ) : object
GetColor ( bool foreground ) : int

메소드 상세

AddToSelection() 공개 메소드

public AddToSelection ( ) : void
리턴 void

Clone() 공개 메소드

public Clone ( ) : ITextRangeProvider
리턴 ITextRangeProvider

Compare() 공개 메소드

public Compare ( ITextRangeProvider range ) : bool
range ITextRangeProvider
리턴 bool

CompareEndpoints() 공개 메소드

public CompareEndpoints ( TextPatternRangeEndpoint endpoint, ITextRangeProvider targetRange, TextPatternRangeEndpoint targetEndpoint ) : int
endpoint TextPatternRangeEndpoint
targetRange ITextRangeProvider
targetEndpoint TextPatternRangeEndpoint
리턴 int

ExpandToEnclosingUnit() 공개 메소드

public ExpandToEnclosingUnit ( TextUnit unit ) : void
unit TextUnit
리턴 void

FindAttribute() 공개 메소드

public FindAttribute ( int attribute, object value, bool backward ) : ITextRangeProvider
attribute int
value object
backward bool
리턴 ITextRangeProvider

FindText() 공개 메소드

public FindText ( string text, bool backward, bool ignoreCase ) : ITextRangeProvider
text string
backward bool
ignoreCase bool
리턴 ITextRangeProvider

GetAttributeValue() 공개 메소드

public GetAttributeValue ( int attribute ) : object
attribute int
리턴 object

GetBoundingRectangles() 공개 메소드

public GetBoundingRectangles ( ) : double[]
리턴 double[]

GetChildren() 공개 메소드

public GetChildren ( ) : System.Windows.Automation.Provider.IRawElementProviderSimple[]
리턴 System.Windows.Automation.Provider.IRawElementProviderSimple[]

GetEnclosingElement() 공개 메소드

public GetEnclosingElement ( ) : System.Windows.Automation.Provider.IRawElementProviderSimple
리턴 System.Windows.Automation.Provider.IRawElementProviderSimple

GetText() 공개 메소드

public GetText ( int maxLength ) : string
maxLength int
리턴 string

Move() 공개 메소드

public Move ( TextUnit unit, int count ) : int
unit TextUnit
count int
리턴 int

MoveEndpointByRange() 공개 메소드

public MoveEndpointByRange ( TextPatternRangeEndpoint endpoint, ITextRangeProvider targetRange, TextPatternRangeEndpoint targetEndpoint ) : void
endpoint TextPatternRangeEndpoint
targetRange ITextRangeProvider
targetEndpoint TextPatternRangeEndpoint
리턴 void

MoveEndpointByUnit() 공개 메소드

public MoveEndpointByUnit ( TextPatternRangeEndpoint endpoint, TextUnit unit, int count ) : int
endpoint TextPatternRangeEndpoint
unit TextUnit
count int
리턴 int

RemoveFromSelection() 공개 메소드

public RemoveFromSelection ( ) : void
리턴 void

ScrollIntoView() 공개 메소드

public ScrollIntoView ( bool alignToTop ) : void
alignToTop bool
리턴 void

Select() 공개 메소드

public Select ( ) : void
리턴 void

TextRangeProvider() 공개 메소드

public TextRangeProvider ( TextEditorControl control, ISelection selection ) : System
control TextEditorControl
selection ISelection
리턴 System