Click or drag to resize
CodeFormatter Methods

The CodeFormatter type exposes the following members.

Methods
  NameDescription
Public methodGetCodeLanguages
Gets all registered the code languages.
Public methodGetFormattedFragment
Creates fragment containing formatted code block.
Public methodRegisterClassificationType(ClassificationType, StyleDefinition)
Registers classification type and its corresponding style.
Public methodRegisterClassificationType(ClassificationType, CodeLanguage, StyleDefinition)
Registers classification type for a specific code language and its corresponding style.
Public methodRegisterCodeLanguage
Registers a code language and its corresponding tagger.
Public methodUnregisterClassificationType(ClassificationType)
Un-registers classification type and its corresponding style.
Public methodUnregisterClassificationType(ClassificationType, CodeLanguage)
Un-registers classification type for a specific code language and its corresponding style.
Public methodUnregisterCodeLanguage
Un-registers a code language and its corresponding tagger.
Top
See Also