<link rel="stylesheet" href="/_merged_assets/_static/search/noscript.css">
Atom Community Logo Atom Community API Getting Started Toggle darkmode

Code Highlight

API

CodeHighlightProvider

Properties

grammarScopes

readonly string[]

priority

number

Methods

highlight

Parameters

editor
TextEditor
bufferPosition
Point

Returns

Promise<undefined|null|Range[]>