C# Class Microsoft.Markdown.Editor.Classification.CodeBackgroundTextAdornment

Inmplements background highlight of server-side code regions as well as script and style blocks. Highlights entire lines across the view, including empty lines.
Exibir arquivo Open project: Microsoft/RTVS

Public Methods

Method Description
CodeBackgroundTextAdornment ( IWpfTextView view, IClassificationFormatMapService classificationFormatMapService, IClassificationTypeRegistryService classificationTypeRegistry ) : System

Private Methods

Method Description
CreateHighlight ( IWpfTextViewLine line, System.Windows.Media.Geometry g, SnapshotSpan span ) : void
CreateVisuals ( IWpfTextViewLine line ) : void
FetchColors ( ) : void
OnClassificationFormatMappingChanged ( object sender, EventArgs e ) : void
OnClosed ( object sender, EventArgs e ) : void
OnLayoutChanged ( object sender, TextViewLayoutChangedEventArgs e ) : void
OnMappingsChanged ( object sender, EventArgs e ) : void
OnViewWidthChanged ( ) : void
ProcessLine ( ITextViewLine line ) : void
ReprocessEntireView ( ) : void
ShouldHighlightEntireLine ( IWpfTextViewLine line ) : bool

Method Details

CodeBackgroundTextAdornment() public method

public CodeBackgroundTextAdornment ( IWpfTextView view, IClassificationFormatMapService classificationFormatMapService, IClassificationTypeRegistryService classificationTypeRegistry ) : System
view IWpfTextView
classificationFormatMapService IClassificationFormatMapService
classificationTypeRegistry IClassificationTypeRegistryService
return System