C# Класс ARCed.Scintilla.StyleRunWriter

Provides a writer paradigm for building a StyleRun list and optionally the text that is being styled.
Показать файл Открыть проект

Открытые методы

Метод Описание
GetStringBuilder ( ) : StringBuilder

Returns the underlying StringBuilder.

GetStyles ( ) : IEnumerable

Returns a StyleRun enumerable built by the StyleRunWriter thus far.

StyleRunWriter ( StringBuilder stringBuilder = null ) : System.Collections.Generic

Initializes a new instance of the StyleRunWriter class.

Write ( string value, int style ) : void

Writes a run of the specified string length in the specified style.

Описание методов

GetStringBuilder() публичный Метод

Returns the underlying StringBuilder.
public GetStringBuilder ( ) : StringBuilder
Результат System.Text.StringBuilder

GetStyles() публичный Метод

Returns a StyleRun enumerable built by the StyleRunWriter thus far.
public GetStyles ( ) : IEnumerable
Результат IEnumerable

StyleRunWriter() публичный Метод

Initializes a new instance of the StyleRunWriter class.
public StyleRunWriter ( StringBuilder stringBuilder = null ) : System.Collections.Generic
stringBuilder System.Text.StringBuilder The optional to write to.
Результат System.Collections.Generic

Write() публичный Метод

Writes a run of the specified string length in the specified style.
public Write ( string value, int style ) : void
value string /// The string that determines the run length. If a was used to /// create the the string value will also be appended. ///
style int The zero-based index of the style for this run.
Результат void