MCPcopy
hub / github.com/witheve/Eve / addOverlay

Method addOverlay

typings/codemirror/codemirror.d.ts:141–141  ·  view source on GitHub ↗

Enable a highlighting overlay.This is a stateless mini - mode that can be used to add extra highlighting. For example, the search add - on uses it to highlight the term that's currently being searched. mode can be a mode spec or a mode object (an object with a token method). The opti

(mode: any, options?: any)

Source from the content-addressed store, hash-verified

139 Currently, only the opaque option is recognized. This defaults to off, but can be given to allow the overlay styling, when not null,
140 to override the styling of the base mode entirely, instead of the two being applied together. */
141 addOverlay(mode: any, options?: any): void;
142
143 /** Pass this the exact argument passed for the mode parameter to addOverlay to remove an overlay again. */
144 removeOverlay(mode: any): void;

Callers 1

highlightSearchMatchesFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected