Merge pull request #4999 from Carreau/cm-change-origin

Change event in codemirror also have a `origin` field
This commit is contained in:
Masahiro Wakame
2015-07-23 00:57:02 +09:00
+2
View File
@@ -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 {