Several times I've pressed undo and it undid more than I intended, so I
thought I'd try the "word" undo granularity described in leoSettings.leo
(@string undo_granularity). However, it gives this exception:
exception in setUndoRedoTypingParams
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/leo/core/leoUndo.py", line 1322, in
setUndoTypingParams
old_row,old_col = old_start.split('.')
AttributeError: 'int' object has no attribute 'split'
It was expecting the row/column to be given in a different format. I fixed
it, and it's been working for me, but I've only tested it in the Qt GUI. The
patch is at the following URL (Google groups wouldn't let me attach it):
https://gist.github.com/897439
If it looks okay, please commit this to the trunk.
Sam
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/leo-editor?hl=en.