C# 클래스 ARCed.Scintilla.StyleRunWriter

Provides a writer paradigm for building a StyleRun list and optionally the text that is being styled.
파일 보기 프로젝트 열기: borisblizzard/arcreator

공개 메소드들

메소드 설명
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