C# 클래스 ICSharpCode.AvalonEdit.Utils.RichTextWriter

A text writer that supports creating spans of highlighted text.
상속: TextWriter
파일 보기 프로젝트 열기: VE-2016/VE-2016

공개 메소드들

메소드 설명
BeginHyperlinkSpan ( Uri uri ) : void

Begin a span that links to the specified URI.

BeginSpan ( Color foregroundColor ) : void

Begin a colored span.

BeginSpan ( FontFamily fontFamily ) : void

Begin a span with modified font family.

BeginSpan ( FontStyle fontStyle ) : void

Begin a span with modified font style.

BeginSpan ( FontWeight fontWeight ) : void

Begin a span with modified font weight.

BeginSpan ( Highlighting.HighlightingColor highlightingColor ) : void

Begin a highlighted span.

EndSpan ( ) : void

Marks the end of the current span.

Indent ( ) : void

Increases the indentation level.

Unindent ( ) : void

Decreases the indentation level.

Write ( RichText richText ) : void

Writes the RichText instance.

Write ( RichText richText, int offset, int length ) : void

Writes the RichText instance.

보호된 메소드들

메소드 설명
BeginUnhandledSpan ( ) : void

Gets called by the RichTextWriter base class when a BeginSpan() method that is not overwritten gets called.

메소드 상세

BeginHyperlinkSpan() 공개 메소드

Begin a span that links to the specified URI.
public BeginHyperlinkSpan ( Uri uri ) : void
uri Uri
리턴 void

BeginSpan() 공개 메소드

Begin a colored span.
public BeginSpan ( Color foregroundColor ) : void
foregroundColor Color
리턴 void

BeginSpan() 공개 메소드

Begin a span with modified font family.
public BeginSpan ( FontFamily fontFamily ) : void
fontFamily FontFamily
리턴 void

BeginSpan() 공개 메소드

Begin a span with modified font style.
public BeginSpan ( FontStyle fontStyle ) : void
fontStyle FontStyle
리턴 void

BeginSpan() 공개 메소드

Begin a span with modified font weight.
public BeginSpan ( FontWeight fontWeight ) : void
fontWeight FontWeight
리턴 void

BeginSpan() 공개 메소드

Begin a highlighted span.
public BeginSpan ( Highlighting.HighlightingColor highlightingColor ) : void
highlightingColor Highlighting.HighlightingColor
리턴 void

BeginUnhandledSpan() 보호된 추상적인 메소드

Gets called by the RichTextWriter base class when a BeginSpan() method that is not overwritten gets called.
protected abstract BeginUnhandledSpan ( ) : void
리턴 void

EndSpan() 공개 추상적인 메소드

Marks the end of the current span.
public abstract EndSpan ( ) : void
리턴 void

Indent() 공개 추상적인 메소드

Increases the indentation level.
public abstract Indent ( ) : void
리턴 void

Unindent() 공개 추상적인 메소드

Decreases the indentation level.
public abstract Unindent ( ) : void
리턴 void

Write() 공개 메소드

Writes the RichText instance.
public Write ( RichText richText ) : void
richText RichText
리턴 void

Write() 공개 메소드

Writes the RichText instance.
public Write ( RichText richText, int offset, int length ) : void
richText RichText
offset int
length int
리턴 void