Свойство | Type | Description |
---|
Méthode | 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 | |
Résultat | IHighlightingDefinition |
public GetDefinitionByExtension ( string extension ) : IHighlightingDefinition | ||
extension | string | |
Résultat | 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. |
Résultat | 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. |
Résultat | void |