AvalonEdit
RichTextColorizer Class
NamespacesICSharpCode.AvalonEdit.HighlightingRichTextColorizer
A colorizer that applies the highlighting from a RichTextModel to the editor.
Declaration Syntax
C#Visual BasicVisual C++
public class RichTextColorizer : DocumentColorizingTransformer
Public Class RichTextColorizer _
	Inherits DocumentColorizingTransformer
public ref class RichTextColorizer : public DocumentColorizingTransformer
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
RichTextColorizer(RichTextModel)
Creates a new RichTextColorizer instance.

ChangeLinePart(Int32, Int32, Action<(Of <<'(VisualLineElement>)>>))
Changes a part of the current document line.
(Inherited from DocumentColorizingTransformer.)
ChangeVisualElements(Int32, Int32, Action<(Of <<'(VisualLineElement>)>>))
Changes visual element properties. This method accesses CurrentElements, so it must be called only during a Transform(ITextRunConstructionContext, IList<(Of <<'(VisualLineElement>)>>)) call. This method splits VisualLineElements as necessary to ensure that the region can be colored by setting the TextRunProperties of whole elements, and then calls the action on all elements in the region.
(Inherited from ColorizingTransformer.)
Colorize(ITextRunConstructionContext)
Performs the colorization.
(Inherited from DocumentColorizingTransformer.)
ColorizeLine(DocumentLine)
Override this method to colorize an individual document line.
(Overrides DocumentColorizingTransformer.ColorizeLine(DocumentLine).)
CurrentContext
Gets the current ITextRunConstructionContext.
(Inherited from DocumentColorizingTransformer.)
CurrentElements
Gets the list of elements currently being transformed.
(Inherited from ColorizingTransformer.)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
OnAddToTextView(TextView)
Called when added to a text view.
(Inherited from ColorizingTransformer.)
OnRemoveFromTextView(TextView)
Called when removed from a text view.
(Inherited from ColorizingTransformer.)
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Transform(ITextRunConstructionContext, IList<(Of <<'(VisualLineElement>)>>)) (Inherited from ColorizingTransformer.)
Inheritance Hierarchy

Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238