Home > Services > DXCore Services – Text Classification

DXCore Services – Text Classification

February 14th, 2012

The Text Classification DXCore service provides methods for Visual Studio 2010+ text classification manipulation. A text classification logically classifies the content of the code editor (e.g., the text behind the code editor) and highlights elements of the editor content matching a classification. A classifiers main task is to recognize elements of the underlying text buffer and highlight those that match a classification type.

Members of this service:

Name

Description

ClearTextClassification(TextView, SourceRange) Clears the text classification in the given source range of the specified text view.
RemoveTextClassification(TextView, String, SourceRange) Removes the text classification in the given source range of the specified text view.
SetTextClassification(TextView, String, SourceRange, ClassificationProperties) Sets a text classification in the given source range of the specified text view with the specified classification properties.
UpdateMarkerClassification( ITextMarker) Updates the specified line marker.
Engine Gets the instance of the ITextClassificationEngine.
—–
Products: DXCore
Versions: 11.2 and up
VS IDEs: 2008 and up
Updated: Feb/14/2012
ID: D141

Similar Posts: