UNPKG

679 BTypeScriptView Raw
1import "../../";
2
3declare module "../../" {
4 interface StyleActiveLine {
5 /**
6 * Controls whether single-line selections, or just cursor selections, are styled. Defaults to false (only cursor selections).
7 */
8 nonEmpty: boolean;
9 }
10
11 interface EditorConfiguration {
12 /**
13 * When enabled gives the wrapper of the line that contains the cursor the class CodeMirror-activeline,
14 * adds a background with the class CodeMirror-activeline-background, and adds the class CodeMirror-activeline-gutter to the line's gutter space is enabled.
15 */
16 styleActiveLine?: StyleActiveLine | boolean | undefined;
17 }
18}