Represents a highlighted document line.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public class HighlightedLine
Public Class HighlightedLine
public ref class HighlightedLine
Members
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
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) | (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()()()() | (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