Property | Type | Description |
---|
Method | Description | |
---|---|---|
GetDefinition ( string name ) : IHighlightingDefinition |
Gets a highlighting definition by name. Returns null if the definition is not found.
|
|
GetDefinitionByExtension ( string extension ) : IHighlightingDefinition |
Gets a highlighting definition by extension. Returns null if the definition is not found.
|
|
RegisterHighlighting ( string name, string extensions, Func |
Registers a highlighting definition.
|
|
RegisterHighlighting ( string name, string extensions, IHighlightingDefinition highlighting ) : void |
Registers a highlighting definition.
|
public GetDefinition ( string name ) : IHighlightingDefinition | ||
name | string | |
return | IHighlightingDefinition |
public GetDefinitionByExtension ( string extension ) : IHighlightingDefinition | ||
extension | string | |
return | IHighlightingDefinition |
public RegisterHighlighting ( string name, string extensions, Func |
||
name | string | The name to register the definition with. |
extensions | string | The file extensions to register the definition for. |
lazyLoadedHighlighting | Func |
A function that loads the highlighting definition. |
return | void |
public RegisterHighlighting ( string name, string extensions, IHighlightingDefinition highlighting ) : void | ||
name | string | The name to register the definition with. |
extensions | string | The file extensions to register the definition for. |
highlighting | IHighlightingDefinition | The highlighting definition. |
return | void |