We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c8f365 commit 3d4fe87Copy full SHA for 3d4fe87
src/virtual/editor.spec.ts
@@ -9,6 +9,8 @@ import {
9
import CodeMirror = require('codemirror');
10
11
class VirtualEditorImplementation extends VirtualEditor {
12
+ private cm_editor: CodeMirror.Editor;
13
+
14
get_cm_editor(position: IRootPosition): CodeMirror.Editor {
15
return undefined;
16
}
@@ -30,6 +32,10 @@ class VirtualEditorImplementation extends VirtualEditor {
30
32
): void {}
31
33
34
protected perform_documents_update(): void {}
35
36
+ forEveryBlockEditor(callback: (cm_editor: CodeMirror.Editor) => void): void {
37
+ callback(this.cm_editor);
38
+ }
39
40
41
describe('VirtualEditor', () => {
0 commit comments