[]
type HighlightBehaviorArgs = object;
Options for controlling the behavior when adding or clearing text highlights.
optional clearPrevious?: boolean;
If true, clears existing highlights before applying the new one.
optional skipPaint?: boolean;
If true, skips the immediate repaint of the text layer after applying the highlight.