Merge pull request #1333 from ajaxorg/ime

Improve ime handling
This commit is contained in:
Lennart Kats 2013-04-09 06:38:02 -07:00
commit ba015bb251
4 changed files with 76 additions and 23 deletions

View file

@ -417,6 +417,14 @@ var EditSession = function(text, mode) {
}
};
/**
* starts a new group in undo history
**/
this.markUndoGroup = function() {
if (this.$syncInformUndoManager)
this.$syncInformUndoManager();
};
this.$defaultUndoManager = {
undo: function() {},
redo: function() {},