Class TextMarkerService
Handles the text markers for a code editor.
Inheritance
System.Object
TextMarkerService
Implements
IBackgroundRenderer
ITextViewConnect
Assembly: SqlDotNet.Debugger.dll
Syntax
public sealed class TextMarkerService : DocumentColorizingTransformer, ITextMarkerService
Constructors
|
Improve this Doc
View Source
TextMarkerService(TextDocument)
Declaration
public TextMarkerService(TextDocument document)
Parameters
Type |
Name |
Description |
TextDocument |
document |
|
Properties
|
Improve this Doc
View Source
Layer
Declaration
public KnownLayer Layer { get; }
Property Value
Type |
Description |
KnownLayer |
|
|
Improve this Doc
View Source
TextMarkers
Declaration
public IEnumerable<ITextMarker> TextMarkers { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<ITextMarker> |
|
Methods
|
Improve this Doc
View Source
ColorizeLine(DocumentLine)
Declaration
protected override void ColorizeLine(DocumentLine line)
Parameters
Type |
Name |
Description |
DocumentLine |
line |
|
|
Improve this Doc
View Source
Create(Int32, Int32)
Declaration
public ITextMarker Create(int startOffset, int length)
Parameters
Type |
Name |
Description |
System.Int32 |
startOffset |
|
System.Int32 |
length |
|
Returns
|
Improve this Doc
View Source
Draw(TextView, DrawingContext)
Declaration
public void Draw(TextView textView, DrawingContext drawingContext)
Parameters
Type |
Name |
Description |
TextView |
textView |
|
System.Windows.Media.DrawingContext |
drawingContext |
|
|
Improve this Doc
View Source
GetMarkersAtOffset(Int32)
Declaration
public IEnumerable<ITextMarker> GetMarkersAtOffset(int offset)
Parameters
Type |
Name |
Description |
System.Int32 |
offset |
|
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<ITextMarker> |
|
|
Improve this Doc
View Source
Remove(ITextMarker)
Declaration
public void Remove(ITextMarker marker)
Parameters
|
Improve this Doc
View Source
RemoveAll(Predicate<ITextMarker>)
Declaration
public void RemoveAll(Predicate<ITextMarker> predicate)
Parameters
Type |
Name |
Description |
System.Predicate<ITextMarker> |
predicate |
|
Events
|
Improve this Doc
View Source
RedrawRequested
Declaration
public event EventHandler RedrawRequested
Event Type
Type |
Description |
System.EventHandler |
|
Implements
IBackgroundRenderer
ITextViewConnect