C# Класс Alsing.SourceCode.Row

The row class represents a row in a SyntaxDocument
Наследование: IEnumerable
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
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