mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Change event in codemirror also have a origin field
It can take different value depending on where it comes from and gover history merging, various values are `+move` `+insert` `+remove` `setValue`.
This commit is contained in:
Vendored
+2
@@ -601,6 +601,8 @@ declare module CodeMirror {
|
||||
text: string[];
|
||||
/** Text that used to be between from and to, which is overwritten by this change. */
|
||||
removed: string;
|
||||
/** String representing the origin of the change event and wether it can be merged with history */
|
||||
origin: string;
|
||||
}
|
||||
|
||||
interface EditorChangeLinkedList extends CodeMirror.EditorChange {
|
||||
|
||||
Reference in New Issue
Block a user