C# Class BooLangService.BooSource

Inheritance: Microsoft.VisualStudio.Package.Source, ILineView
Datei anzeigen Open project: jagregory/boolangstudio Class Usage Examples

Public Methods

Method Description
BooSource ( Microsoft.VisualStudio.Package.LanguageService service, IVsTextLines textLines, Microsoft.VisualStudio.Package.Colorizer colorizer ) : Boo.BooLangProject
GetIndexOfNextNonWhitespaceChar ( int line ) : int
GetTextUptoPosition ( int line, int col ) : string

Gets all text on the specified line upto the column specified.

SetText ( int line, int endColumn, string newText ) : void

Method Details

BooSource() public method

public BooSource ( Microsoft.VisualStudio.Package.LanguageService service, IVsTextLines textLines, Microsoft.VisualStudio.Package.Colorizer colorizer ) : Boo.BooLangProject
service Microsoft.VisualStudio.Package.LanguageService
textLines IVsTextLines
colorizer Microsoft.VisualStudio.Package.Colorizer
return Boo.BooLangProject

GetIndexOfNextNonWhitespaceChar() public method

public GetIndexOfNextNonWhitespaceChar ( int line ) : int
line int
return int

GetTextUptoPosition() public method

Gets all text on the specified line upto the column specified.
public GetTextUptoPosition ( int line, int col ) : string
line int
col int
return string

SetText() public method

public SetText ( int line, int endColumn, string newText ) : void
line int
endColumn int
newText string
return void