AvalonEdit
HighlightedLine Class
NamespacesICSharpCode.AvalonEdit.HighlightingHighlightedLine
Represents a highlighted document line.
Declaration Syntax
C#Visual BasicVisual C++
public class HighlightedLine
Public Class HighlightedLine
public ref class HighlightedLine
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
HighlightedLine(IDocument, IDocumentLine)
Creates a new HighlightedLine instance.

Document
Gets the document associated with this HighlightedLine.

DocumentLine
Gets the document line associated with this HighlightedLine.

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.)
MergeWith(HighlightedLine)
Merges the additional line into this line.

Sections
Gets the highlighted sections. The sections are not overlapping, but they may be nested. In that case, outer sections come in the list before inner sections. The sections are sorted by start offset.

ToHtml(HtmlOptions)
Produces HTML code for the line, with <span class="colorName"> tags.

ToHtml(Int32, Int32, HtmlOptions)
Produces HTML code for a section of the line, with <span class="colorName"> tags.

ToInlineBuilder()()()() Obsolete.
Creates a HighlightedInlineBuilder that stores the text and highlighting of this line.

ToRichText()()()()
Creates a RichText that stores the text and highlighting of this line.

ToRichTextModel()()()()
Creates a RichTextModel that stores the highlighting of this line.

ToString()()()()
Returns a String that represents the current Object.
(Overrides Object.ToString()()()().)
ValidateInvariants()()()()
Validates that the sections are sorted correctly, and that they are not overlapping.

Inheritance Hierarchy
Object
HighlightedLine

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