C# Class Microsoft.VisualStudio.Extensions.BlockTagger.Implementation.CodeBlock

Inheritance: IBlockTag
Datei anzeigen Open project: rally25rs/OverviewMargin2012 Class Usage Examples

Private Properties

Property Type Description
ContainsWord int
FormatStatements System.Windows.Media.FormattedText
SetColors void

Public Methods

Method Description
CodeBlock ( CodeBlock parent, BlockType type, string statement, SnapshotSpan span, int statementStart, int level ) : System
Context ( BlockColoring coloring ) : FrameworkElement
Context ( BlockColoring coloring, System.Windows.Media.Typeface typeface, double emSize ) : FrameworkElement
SetSpan ( SnapshotSpan span ) : void

Private Methods

Method Description
ContainsWord ( string text, string p, int index ) : int
FormatStatements ( string tipText, BlockColoring coloring, System.Windows.Media.Typeface typeface, double emSize ) : System.Windows.Media.FormattedText
SetColors ( System.Windows.Media.Brush brush, string keywords, string tipText, System.Windows.Media.FormattedText formattedText ) : void

Method Details

CodeBlock() public method

public CodeBlock ( CodeBlock parent, BlockType type, string statement, SnapshotSpan span, int statementStart, int level ) : System
parent CodeBlock
type BlockType
statement string
span SnapshotSpan
statementStart int
level int
return System

Context() public method

public Context ( BlockColoring coloring ) : FrameworkElement
coloring BlockColoring
return System.Windows.FrameworkElement

Context() public method

public Context ( BlockColoring coloring, System.Windows.Media.Typeface typeface, double emSize ) : FrameworkElement
coloring BlockColoring
typeface System.Windows.Media.Typeface
emSize double
return System.Windows.FrameworkElement

SetSpan() public method

public SetSpan ( SnapshotSpan span ) : void
span SnapshotSpan
return void