Converts an IDocument to a RichText and applies the provided highlighter.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static RichText ConvertTextDocumentToRichText( IDocument document, IHighlighter highlighter )
Public Shared Function ConvertTextDocumentToRichText ( _ document As IDocument, _ highlighter As IHighlighter _ ) As RichText
public: static RichText^ ConvertTextDocumentToRichText( IDocument^ document, IHighlighter^ highlighter )
Parameters
- document (IDocument)
- highlighter (IHighlighter)
Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238