fakevim: Fix crash when setting cursor position in edit block
authorLukas Holecek <hluk@email.cz>
Thu, 1 Nov 2012 20:25:43 +0000 (21:25 +0100)
committerhjk <qthjk@ovi.com>
Tue, 6 Nov 2012 15:27:14 +0000 (16:27 +0100)
commit67bf8aa863edfcdb655e062ce4a9ac68bb2ed608
tree2df3ffd783a1c4a649b1bc44256831573933f9a6
parente64543aa61a2aabdacaf9beb0728d99fb80d6520
fakevim: Fix crash when setting cursor position in edit block

Workaround for crash when setting text cursor position while in edit
block (after QTextCursor::beginEditBlock() call and before
QTextCursor::endEditBlock() call).

Task-number: QTCREATORBUG-8148
Change-Id: I7faab2e878efea4106e375b32526ecd5984feac2
Reviewed-by: hjk <qthjk@ovi.com>
src/plugins/fakevim/fakevim_test.cpp
src/plugins/fakevim/fakevimhandler.cpp