Implement coalescing of undo actions for typing events in NSTextView.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29164 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Wolfgang Lux 2009-12-23 00:39:18 +00:00
parent fbf8c3edb5
commit 395f9a293b
3 changed files with 169 additions and 43 deletions

View file

@ -228,13 +228,12 @@ therefore be stored in the NSLayoutManager to avoid problems.
/* Ivar to store the location where text is going to be inserted during
* a DnD operation.
* Note: This used to be a range attribute with a different meaning; the
* _dragTargetUnused attribute is present just to preserve the size of
* NSTextView instances.
* FIXME: Drop this attribute on the next major release.
*/
unsigned int _dragTargetLocation;
unsigned int _dragTargetUnused;
/* Ivar used to implement coalescing of undo operations */
id _undoObject;
/*
TODO:
Still need to figure out what "proper behavior" is when moving between two