Commit 0bc1095b authored by hjk's avatar hjk
Browse files

fakevim: fix undo() behaviour

This is the finalization of the change started with 3c0ca8c1.
Fakevim undo was broken due to behavioural changes in QTextDocument
in Qt 4.6. Now that QTextDocument has gotten new accessors to the
needed (and previously available) data we can use it.
parent 8a554029
......@@ -79,9 +79,9 @@
#include <climits>
// FIXME: Restrict this as soon the availableUndoSteps has been merged to Qt
//#if QT_VERSION < 0x040600
#if QT_VERSION < 0x040600
#define availableUndoSteps revision
//#define DEBUG_KEY 1
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment