Skip to content

SettingEx.addCodeHighlighter method

SettingEx › addCodeHighlighter

Adds a CodeHighlighterComponent to the setting.

Signature:

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

Parameters:

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

Returns: thisThe setting instance.