Skip to main content

CARET_HIGHLIGHT_PRIORITY

Constant CARET_HIGHLIGHT_PRIORITY 

Source
pub const CARET_HIGHLIGHT_PRIORITY: i32 = -1000;
Expand description

Where the caret-highlight session sits in the document’s merge order.

Far below the default 0 every other layer takes, so anything meaningful — a find match, a spell squiggle, a syntax colour — wins the overlap. The band is ambient; it must never hide something the writer asked to see.