C# Class ARCed.Scintilla.StyleRunWriter

Provides a writer paradigm for building a StyleRun list and optionally the text that is being styled.
Afficher le fichier Open project: borisblizzard/arcreator

Méthodes publiques

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

Method Details

GetStringBuilder() public méthode

Returns the underlying StringBuilder.
public GetStringBuilder ( ) : StringBuilder
Résultat System.Text.StringBuilder

GetStyles() public méthode

Returns a StyleRun enumerable built by the StyleRunWriter thus far.
public GetStyles ( ) : IEnumerable
Résultat IEnumerable

StyleRunWriter() public méthode

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.
Résultat System.Collections.Generic

Write() public méthode

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