summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2009-06-02 15:38:08 +0200
committerhjk <qtc-committer@nokia.com>2009-06-03 12:48:47 +0200
commit4133107a0d4f42949f8f89a461d47581af62e8e4 (patch)
tree272ac495cb7089fb371a2589645b627384320adc /tests
parent76f57c8678823bd1a39871733ddfcb18c3d3a1fe (diff)
downloadqt-creator-4133107a0d4f42949f8f89a461d47581af62e8e4.tar.gz
fakevim: remove old undo hack as QPlainTextEdit's own undo works well now.
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/fakevim/main.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/auto/fakevim/main.cpp b/tests/auto/fakevim/main.cpp
index 66002c9380..ad8c1f6038 100644
--- a/tests/auto/fakevim/main.cpp
+++ b/tests/auto/fakevim/main.cpp
@@ -328,12 +328,18 @@ void tst_FakeVim::command_i()
// combine insertions
+ check("i1" + escape, "@1" + lines);
+ check("i2" + escape, "@21" + lines);
+ check("i3" + escape, "@321" + lines);
+ check("u", "@21" + lines);
+ check("u", "@1" + lines);
+ check("u", "@" + lines);
check("ia" + escape, "@a" + lines);
check("ibx" + escape, "b@xa" + lines);
check("icyy" + escape, "bcy@yxa" + lines);
-return; // FIXME
check("u", "b@xa" + lines);
check("u", "@a" + lines); // undo broken
+return; // FIXME
checkEx("redo", "b@xa" + lines);
check("u", "@a" + lines);
check("u", "@" + lines);