C# Class AvalonStudio.TextEditor.Rendering.TextMarkerService

Inheritance: IBackgroundRenderer
Show file Open project: VitalElement/AvalonStudio Class Usage Examples

Public Methods

Method Description
Clear ( ) : void
Create ( int offset, int length, string message, Color markerColor ) : void
Draw ( TextView textView, Avalonia.Media.DrawingContext drawingContext ) : void
GetMarkersAtOffset ( int offset ) : IEnumerable
TextMarkerService ( TextDocument document ) : System
TransformLine ( TextView textView, Avalonia.Media.DrawingContext drawingContext, VisualLine line ) : void
Update ( ) : void

Private Methods

Method Description
CreatePoints ( Point start, Point end, double offset, int count ) : IEnumerable

Method Details

Clear() public method

public Clear ( ) : void
return void

Create() public method

public Create ( int offset, int length, string message, Color markerColor ) : void
offset int
length int
message string
markerColor Color
return void

Draw() public method

public Draw ( TextView textView, Avalonia.Media.DrawingContext drawingContext ) : void
textView TextView
drawingContext Avalonia.Media.DrawingContext
return void

GetMarkersAtOffset() public method

public GetMarkersAtOffset ( int offset ) : IEnumerable
offset int
return IEnumerable

TextMarkerService() public method

public TextMarkerService ( TextDocument document ) : System
document AvalonStudio.TextEditor.Document.TextDocument
return System

TransformLine() public method

public TransformLine ( TextView textView, Avalonia.Media.DrawingContext drawingContext, VisualLine line ) : void
textView TextView
drawingContext Avalonia.Media.DrawingContext
line VisualLine
return void

Update() public method

public Update ( ) : void
return void