C# Class ICSharpCode.AvalonEdit.Utils.RichTextWriter

A text writer that supports creating spans of highlighted text.
Inheritance: TextWriter
Afficher le fichier Open project: VE-2016/VE-2016

Méthodes publiques

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

Méthodes protégées

Méthode Description
BeginUnhandledSpan ( ) : void

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

Method Details

BeginHyperlinkSpan() public méthode

Begin a span that links to the specified URI.
public BeginHyperlinkSpan ( Uri uri ) : void
uri Uri
Résultat void

BeginSpan() public méthode

Begin a colored span.
public BeginSpan ( Color foregroundColor ) : void
foregroundColor Color
Résultat void

BeginSpan() public méthode

Begin a span with modified font family.
public BeginSpan ( FontFamily fontFamily ) : void
fontFamily FontFamily
Résultat void

BeginSpan() public méthode

Begin a span with modified font style.
public BeginSpan ( FontStyle fontStyle ) : void
fontStyle FontStyle
Résultat void

BeginSpan() public méthode

Begin a span with modified font weight.
public BeginSpan ( FontWeight fontWeight ) : void
fontWeight FontWeight
Résultat void

BeginSpan() public méthode

Begin a highlighted span.
public BeginSpan ( Highlighting.HighlightingColor highlightingColor ) : void
highlightingColor Highlighting.HighlightingColor
Résultat void

BeginUnhandledSpan() protected abstract méthode

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

EndSpan() public abstract méthode

Marks the end of the current span.
public abstract EndSpan ( ) : void
Résultat void

Indent() public abstract méthode

Increases the indentation level.
public abstract Indent ( ) : void
Résultat void

Unindent() public abstract méthode

Decreases the indentation level.
public abstract Unindent ( ) : void
Résultat void

Write() public méthode

Writes the RichText instance.
public Write ( RichText richText ) : void
richText RichText
Résultat void

Write() public méthode

Writes the RichText instance.
public Write ( RichText richText, int offset, int length ) : void
richText RichText
offset int
length int
Résultat void