C# Class Alsing.SourceCode.Row

The row class represents a row in a SyntaxDocument
Inheritance: IEnumerable
Afficher le fichier Open project: vchelaru/FlatRedBall Class Usage Examples

Méthodes publiques

Свойство Type Description
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

Méthodes publiques

Méthode Description
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.

Method Details

Add() public méthode

public Add ( string text ) : Word
text string
Résultat Word

Add() public méthode

Adds a word object to this row
public Add ( Word word ) : void
word Word Word object
Résultat void

AddToParseQueue() public méthode

Adds this row to the parse queue
public AddToParseQueue ( ) : void
Résultat void

Clear() public méthode

public Clear ( ) : void
Résultat void

EnsureVisible() public méthode

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

FindLeftWordByBlockType() public méthode

For public use only
public FindLeftWordByBlockType ( SpanDefinition spanDefinition, Word StartWord, bool IgnoreStartWord ) : Word
spanDefinition SpanDefinition
StartWord Word
IgnoreStartWord bool
Résultat Word

FindLeftWordByBlockTypeName() public méthode

For public use only
public FindLeftWordByBlockTypeName ( string BlockTypeName, Word StartWord, bool IgnoreStartWord ) : Word
BlockTypeName string
StartWord Word
IgnoreStartWord bool
Résultat Word

FindLeftWordByPatternList() public méthode

For public use only
public FindLeftWordByPatternList ( PatternList PatternList, Word StartWord, bool IgnoreStartWord ) : Word
PatternList PatternList
StartWord Word
IgnoreStartWord bool
Résultat Word

FindLeftWordByPatternListName() public méthode

For public use only
public FindLeftWordByPatternListName ( string PatternListName, Word StartWord, bool IgnoreStartWord ) : Word
PatternListName string
StartWord Word
IgnoreStartWord bool
Résultat Word

FindRightWordByBlockType() public méthode

For public use only
public FindRightWordByBlockType ( SpanDefinition spanDefinition, Word StartWord, bool IgnoreStartWord ) : Word
spanDefinition SpanDefinition
StartWord Word
IgnoreStartWord bool
Résultat Word

FindRightWordByBlockTypeName() public méthode

For public use only
public FindRightWordByBlockTypeName ( string BlockTypeName, Word StartWord, bool IgnoreStartWord ) : Word
BlockTypeName string
StartWord Word
IgnoreStartWord bool
Résultat Word

FindRightWordByPatternList() public méthode

For public use only
public FindRightWordByPatternList ( PatternList PatternList, Word StartWord, bool IgnoreStartWord ) : Word
PatternList PatternList
StartWord Word
IgnoreStartWord bool
Résultat Word

FindRightWordByPatternListName() public méthode

For public use only
public FindRightWordByPatternListName ( string PatternListName, Word StartWord, bool IgnoreStartWord ) : Word
PatternListName string
StartWord Word
IgnoreStartWord bool
Résultat Word

GetEnumerator() public méthode

Get the Word enumerator for this row
public GetEnumerator ( ) : IEnumerator
Résultat IEnumerator

GetLeadingWhitespace() public méthode

Returns the whitespace string at the begining of this row.
public GetLeadingWhitespace ( ) : string
Résultat string

GetVirtualLeadingWhitespace() public méthode

public GetVirtualLeadingWhitespace ( ) : string
Résultat string

IndexOf() public méthode

Returns the index of a specific Word object
public IndexOf ( Word word ) : int
word Word Word object to find
Résultat int

MatchCase() public méthode

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
Résultat void

Parse() public méthode

Force a span parse on the row.
public Parse ( ) : void
Résultat void

Parse() public méthode

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

SetExpansionSegment() public méthode

public SetExpansionSegment ( ) : void
Résultat void

SetText() public méthode

Assigns a new text to the row.
public SetText ( string text ) : void
text string
Résultat void

this() public méthode

Return the Word object at the specified index.
public this ( int index ) : Word
index int
Résultat Word

Property Details

Document public_oe property

The owner document
public SyntaxDocument,Alsing.SourceCode Document
Résultat SyntaxDocument

Expansion_EndChar public_oe property

For public use only
public int Expansion_EndChar
Résultat int

Expansion_PixelEnd public_oe property

For public use only
public int Expansion_PixelEnd
Résultat int

Expansion_PixelStart public_oe property

For public use only
public int Expansion_PixelStart
Résultat int

Expansion_StartChar public_oe property

For public use only
public int Expansion_StartChar
Résultat int

FormattedWords public_oe property

public WordList FormattedWords
Résultat WordList

Images public_oe property

Collection of Image indices assigned to a row.
public ImageIndexList Images
Résultat ImageIndexList

InKeywordQueue public_oe property

Returns true if the row is in the owner documents keyword parse queue
public bool InKeywordQueue
Résultat bool

InQueue public_oe property

Returns true if the row is in the owner documents parse queue
public bool InQueue
Résultat bool

Indent public_oe property

For public use only
public int Indent
Résultat int

Tag public_oe property

Object tag for storage of custom user data..
public object Tag
Résultat object

endSpan public_oe property

The first span that terminates on this row.
public Span,Alsing.SourceCode endSpan
Résultat Span

endSpans public_oe property

Segments that ends in this row
public SpanList endSpans
Résultat SpanList

expansion_EndSpan public_oe property

public Span,Alsing.SourceCode expansion_EndSpan
Résultat Span

expansion_StartSpan public_oe property

public Span,Alsing.SourceCode expansion_StartSpan
Résultat Span

startSpan public_oe property

The first collapsable span on this row.
public Span,Alsing.SourceCode startSpan
Résultat Span

startSpans public_oe property

Segments that start on this row
public SpanList startSpans
Résultat SpanList