C# 클래스 Alsing.SourceCode.Row

The row class represents a row in a SyntaxDocument
상속: IEnumerable
파일 보기 프로젝트 열기: vchelaru/FlatRedBall 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Document SyntaxDocument
Expansion_EndChar int
Expansion_PixelEnd int
Expansion_PixelStart int
Expansion_StartChar int
FormattedWords WordList
Images ImageIndexList
InKeywordQueue bool
InQueue bool
Indent int
Tag object
endSpan Span
endSpans SpanList
expansion_EndSpan Span
expansion_StartSpan Span
startSpan Span
startSpans SpanList

공개 메소드들

메소드 설명
Add ( string text ) : Word
Add ( Word word ) : void

Adds a word object to this row

AddToParseQueue ( ) : void

Adds this row to the parse queue

Clear ( ) : void
EnsureVisible ( ) : void

If the row is hidden inside a collapsed span , call this method to make the collapsed segments expanded.

FindLeftWordByBlockType ( SpanDefinition spanDefinition, Word StartWord, bool IgnoreStartWord ) : Word

For public use only

FindLeftWordByBlockTypeName ( string BlockTypeName, Word StartWord, bool IgnoreStartWord ) : Word

For public use only

FindLeftWordByPatternList ( PatternList PatternList, Word StartWord, bool IgnoreStartWord ) : Word

For public use only

FindLeftWordByPatternListName ( string PatternListName, Word StartWord, bool IgnoreStartWord ) : Word

For public use only

FindRightWordByBlockType ( SpanDefinition spanDefinition, Word StartWord, bool IgnoreStartWord ) : Word

For public use only

FindRightWordByBlockTypeName ( string BlockTypeName, Word StartWord, bool IgnoreStartWord ) : Word

For public use only

FindRightWordByPatternList ( PatternList PatternList, Word StartWord, bool IgnoreStartWord ) : Word

For public use only

FindRightWordByPatternListName ( string PatternListName, Word StartWord, bool IgnoreStartWord ) : Word

For public use only

GetEnumerator ( ) : IEnumerator

Get the Word enumerator for this row

GetLeadingWhitespace ( ) : string

Returns the whitespace string at the begining of this row.

GetVirtualLeadingWhitespace ( ) : string
IndexOf ( Word word ) : int

Returns the index of a specific Word object

MatchCase ( ) : void

Call this method to make all words match the case of their patterns. (this only applies if the row is fully parsed)

Parse ( ) : void

Force a span parse on the row.

Parse ( bool ParseKeywords ) : void

Forces the parser to parse this row directly

SetExpansionSegment ( ) : void
SetText ( string text ) : void

Assigns a new text to the row.

this ( int index ) : Word

Return the Word object at the specified index.

메소드 상세

Add() 공개 메소드

public Add ( string text ) : Word
text string
리턴 Word

Add() 공개 메소드

Adds a word object to this row
public Add ( Word word ) : void
word Word Word object
리턴 void

AddToParseQueue() 공개 메소드

Adds this row to the parse queue
public AddToParseQueue ( ) : void
리턴 void

Clear() 공개 메소드

public Clear ( ) : void
리턴 void

EnsureVisible() 공개 메소드

If the row is hidden inside a collapsed span , call this method to make the collapsed segments expanded.
public EnsureVisible ( ) : void
리턴 void

FindLeftWordByBlockType() 공개 메소드

For public use only
public FindLeftWordByBlockType ( SpanDefinition spanDefinition, Word StartWord, bool IgnoreStartWord ) : Word
spanDefinition SpanDefinition
StartWord Word
IgnoreStartWord bool
리턴 Word

FindLeftWordByBlockTypeName() 공개 메소드

For public use only
public FindLeftWordByBlockTypeName ( string BlockTypeName, Word StartWord, bool IgnoreStartWord ) : Word
BlockTypeName string
StartWord Word
IgnoreStartWord bool
리턴 Word

FindLeftWordByPatternList() 공개 메소드

For public use only
public FindLeftWordByPatternList ( PatternList PatternList, Word StartWord, bool IgnoreStartWord ) : Word
PatternList PatternList
StartWord Word
IgnoreStartWord bool
리턴 Word

FindLeftWordByPatternListName() 공개 메소드

For public use only
public FindLeftWordByPatternListName ( string PatternListName, Word StartWord, bool IgnoreStartWord ) : Word
PatternListName string
StartWord Word
IgnoreStartWord bool
리턴 Word

FindRightWordByBlockType() 공개 메소드

For public use only
public FindRightWordByBlockType ( SpanDefinition spanDefinition, Word StartWord, bool IgnoreStartWord ) : Word
spanDefinition SpanDefinition
StartWord Word
IgnoreStartWord bool
리턴 Word

FindRightWordByBlockTypeName() 공개 메소드

For public use only
public FindRightWordByBlockTypeName ( string BlockTypeName, Word StartWord, bool IgnoreStartWord ) : Word
BlockTypeName string
StartWord Word
IgnoreStartWord bool
리턴 Word

FindRightWordByPatternList() 공개 메소드

For public use only
public FindRightWordByPatternList ( PatternList PatternList, Word StartWord, bool IgnoreStartWord ) : Word
PatternList PatternList
StartWord Word
IgnoreStartWord bool
리턴 Word

FindRightWordByPatternListName() 공개 메소드

For public use only
public FindRightWordByPatternListName ( string PatternListName, Word StartWord, bool IgnoreStartWord ) : Word
PatternListName string
StartWord Word
IgnoreStartWord bool
리턴 Word

GetEnumerator() 공개 메소드

Get the Word enumerator for this row
public GetEnumerator ( ) : IEnumerator
리턴 IEnumerator

GetLeadingWhitespace() 공개 메소드

Returns the whitespace string at the begining of this row.
public GetLeadingWhitespace ( ) : string
리턴 string

GetVirtualLeadingWhitespace() 공개 메소드

public GetVirtualLeadingWhitespace ( ) : string
리턴 string

IndexOf() 공개 메소드

Returns the index of a specific Word object
public IndexOf ( Word word ) : int
word Word Word object to find
리턴 int

MatchCase() 공개 메소드

Call this method to make all words match the case of their patterns. (this only applies if the row is fully parsed)
public MatchCase ( ) : void
리턴 void

Parse() 공개 메소드

Force a span parse on the row.
public Parse ( ) : void
리턴 void

Parse() 공개 메소드

Forces the parser to parse this row directly
public Parse ( bool ParseKeywords ) : void
ParseKeywords bool true if keywords and operators should be parsed
리턴 void

SetExpansionSegment() 공개 메소드

public SetExpansionSegment ( ) : void
리턴 void

SetText() 공개 메소드

Assigns a new text to the row.
public SetText ( string text ) : void
text string
리턴 void

this() 공개 메소드

Return the Word object at the specified index.
public this ( int index ) : Word
index int
리턴 Word

프로퍼티 상세

Document 공개적으로 프로퍼티

The owner document
public SyntaxDocument,Alsing.SourceCode Document
리턴 SyntaxDocument

Expansion_EndChar 공개적으로 프로퍼티

For public use only
public int Expansion_EndChar
리턴 int

Expansion_PixelEnd 공개적으로 프로퍼티

For public use only
public int Expansion_PixelEnd
리턴 int

Expansion_PixelStart 공개적으로 프로퍼티

For public use only
public int Expansion_PixelStart
리턴 int

Expansion_StartChar 공개적으로 프로퍼티

For public use only
public int Expansion_StartChar
리턴 int

FormattedWords 공개적으로 프로퍼티

public WordList FormattedWords
리턴 WordList

Images 공개적으로 프로퍼티

Collection of Image indices assigned to a row.
public ImageIndexList Images
리턴 ImageIndexList

InKeywordQueue 공개적으로 프로퍼티

Returns true if the row is in the owner documents keyword parse queue
public bool InKeywordQueue
리턴 bool

InQueue 공개적으로 프로퍼티

Returns true if the row is in the owner documents parse queue
public bool InQueue
리턴 bool

Indent 공개적으로 프로퍼티

For public use only
public int Indent
리턴 int

Tag 공개적으로 프로퍼티

Object tag for storage of custom user data..
public object Tag
리턴 object

endSpan 공개적으로 프로퍼티

The first span that terminates on this row.
public Span,Alsing.SourceCode endSpan
리턴 Span

endSpans 공개적으로 프로퍼티

Segments that ends in this row
public SpanList endSpans
리턴 SpanList

expansion_EndSpan 공개적으로 프로퍼티

public Span,Alsing.SourceCode expansion_EndSpan
리턴 Span

expansion_StartSpan 공개적으로 프로퍼티

public Span,Alsing.SourceCode expansion_StartSpan
리턴 Span

startSpan 공개적으로 프로퍼티

The first collapsable span on this row.
public Span,Alsing.SourceCode startSpan
리턴 Span

startSpans 공개적으로 프로퍼티

Segments that start on this row
public SpanList startSpans
리턴 SpanList