ARCed.Scintilla.StyleRunWriter.Write C# (CSharp) Method

Write() public method

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.
return void
        public void Write(string value, int style)
        {
            if (string.IsNullOrEmpty(value))
                return;

            this._styleRuns.Add(new StyleRun(value.Length, style));
            if (this._stringBuilder != null)
                this._stringBuilder.Append(value);
        }