addLineClass method
Set a CSS class name for the given line. line
can be a number or a
LineHandle. 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
selection), "gutter" (the line's gutter space), or "wrap" (the wrapper node
that wraps all of the line's elements, including gutter elements).
cssClass
should be the name of the class to apply.
Implementation
LineHandle addLineClass(dynamic line, String where, String cssClass) {
var l = line is LineHandle ? line.jsProxy : line;
return LineHandle(callArgs('addLineClass', [l, where, cssClass]));
}