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