MCPcopy Create free account
hub / github.com/witheve/Eve / addLineClass

Method addLineClass

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

Set a CSS class name for the given line.line can be a number or a line handle. where determines to which element this class should be applied, can can be one of "text" (the text element, which lies in front of the selection), "background"(a background element that will be behind the

(line: any, where: string, _class_: string)

Source from the content-addressed store, hash-verified

169 or "wrap" (the wrapper node that wraps all of the line's elements, including gutter elements).
170 class should be the name of the class to apply. */
171 addLineClass(line: any, where: string, _class_: string): CodeMirror.LineHandle;
172
173 /** Remove a CSS class from a line.line can be a line handle or number.
174 where should be one of "text", "background", or "wrap"(see addLineClass).

Callers 1

updateLineClassesFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected