Colorizer::GetColorInfo Method (String^, Int32, Int32)
Visual Studio 2015
Returns the parsing state at the end of the line without returning any colorization information.
Assembly: Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)
Parameters
- line
-
Type:
System::String^
[in] The text of the line.
- length
-
Type:
System::Int32
[in] The length of the line.
- state
-
Type:
System::Int32
[in] The initial parsing state of the line.
This method essentially does what ColorizeLine does but this method does not return any color information, only the parsing state at the end of the line.
The base method calls the scanner's ScanTokenAndProvideInfoAboutIt and caches the result before returning the state. This cached information is used in GetLineInfo.
Show: