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.
Afficher le fichier Open project: Microsoft/RTVS

Méthodes publiques

Méthode Description
CodeBackgroundTextAdornment ( IWpfTextView view, IClassificationFormatMapService classificationFormatMapService, IClassificationTypeRegistryService classificationTypeRegistry ) : System

Private Methods

Méthode 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 méthode

public CodeBackgroundTextAdornment ( IWpfTextView view, IClassificationFormatMapService classificationFormatMapService, IClassificationTypeRegistryService classificationTypeRegistry ) : System
view IWpfTextView
classificationFormatMapService IClassificationFormatMapService
classificationTypeRegistry IClassificationTypeRegistryService
Résultat System