Skip to content

SettingEx.addCodeHighlighter method

SettingEx › addCodeHighlighter

Adds a CodeHighlighterComponent to the setting.

Signature:

addCodeHighlighter(callback: (codeHighlighter: CodeHighlighterComponent) => void): this

Parameters:

ParameterTypeDescription
callback(codeHighlighter: CodeHighlighterComponent) => voidThe callback to call with the component.

Returns: thisThe setting instance.