mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-07 00:07:07 +00:00
Add 'cm' argument to selectAll
This commit is contained in:
Vendored
+1
-1
@@ -1224,7 +1224,7 @@ declare namespace CodeMirror {
|
||||
|
||||
interface CommandActions {
|
||||
/** Select the whole content of the editor. */
|
||||
selectAll(): void;
|
||||
selectAll(cm: CodeMirror.Editor): void;
|
||||
|
||||
/** When multiple selections are present, this deselects all but the primary selection. */
|
||||
singleSelection(cm: CodeMirror.Editor): void;
|
||||
|
||||
@@ -101,5 +101,4 @@ widget2.clear();
|
||||
htmlElement1.remove();
|
||||
htmlElement2.remove();
|
||||
|
||||
CodeMirror.commands.selectAll();
|
||||
CodeMirror.commands.newlineAndIndent(myCodeMirror);
|
||||
|
||||
Reference in New Issue
Block a user