C# Class AvalonStudio.Languages.CPlusPlus.Rendering.TextColoringTransformer

Inheritance: IDocumentLineTransformer
显示文件 Open project: VitalElement/AvalonStudio Class Usage Examples

Public Methods

Method Description
GetBrush ( HighlightType type ) : IBrush
SetTransformations ( SyntaxHighlightDataList highlightData ) : void
TextColoringTransformer ( TextDocument document ) : Avalonia.Media
TextColoringTransformer ( TextDocument document ) : System
TransformLine ( TextView textView, VisualLine line ) : void
UpdateOffsets ( DocumentChangeEventArgs e ) : void

Method Details

GetBrush() public method

public GetBrush ( HighlightType type ) : IBrush
type HighlightType
return IBrush

SetTransformations() public method

public SetTransformations ( SyntaxHighlightDataList highlightData ) : void
highlightData SyntaxHighlightDataList
return void

TextColoringTransformer() public method

public TextColoringTransformer ( TextDocument document ) : Avalonia.Media
document AvalonStudio.TextEditor.Document.TextDocument
return Avalonia.Media

TextColoringTransformer() public method

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

TransformLine() public method

public TransformLine ( TextView textView, VisualLine line ) : void
textView TextView
line AvalonStudio.TextEditor.Rendering.VisualLine
return void

UpdateOffsets() public method

public UpdateOffsets ( DocumentChangeEventArgs e ) : void
e AvalonStudio.TextEditor.Document.DocumentChangeEventArgs
return void