fakevim: rework undo/redo cursor positioning
fakevim: rework undo/redo cursor positioning

Change-Id: I1daa788377295fb1446f31d9a74b9fd0df6920d1
Reviewed-by: hjk <6fac1c92f5b9c7890a04d7f8a9d8912d16355eac@ovi.com>

azat/qtcreator,darksylinc/qt-creator,farseerri/git_code,colede/qtcreator,malikcjm/qtcreator,richardmg/qtcreator,amyvmiwei/qt-creator,duythanhphan/qt-creator,duythanhphan/qt-creator,AltarBeastiful/qt-creator,darksylinc/qt-creator,KDE/android-qt-creator,duythanhphan/qt-creator,syntheticpp/qt-creator,kuba1/qtcreator,darksylinc/qt-creator,KDE/android-qt-creator,martyone/sailfish-qtcreator,farseerri/git_code,amyvmiwei/qt-creator,jonnor/qt-creator,kuba1/qtcreator,martyone/sailfish-qtcreator,amyvmiwei/qt-creator,malikcjm/qtcreator,colede/qtcreator,hdweiss/qt-creator-visualizer,kuba1/qtcreator,maui-packages/qt-creator,xianian/qt-creator,danimo/qt-creator,omniacreator/qtcreator,martyone/sailfish-qtcreator,KDE/android-qt-creator,darksylinc/qt-creator,xianian/qt-creator,Distrotech/qtcreator,omniacreator/qtcreator,kuba1/qtcreator,Distrotech/qtcreator,danimo/qt-creator,Distrotech/qtcreator,farseerri/git_code,Distrotech/qtcreator,amyvmiwei/qt-creator,xianian/qt-creator,xianian/qt-creator,maui-packages/qt-creator,syntheticpp/qt-creator,richardmg/qtcreator,amyvmiwei/qt-creator,KDE/android-qt-creator,danimo/qt-creator,hdweiss/qt-creator-visualizer,hdweiss/qt-creator-visualizer,azat/qtcreator,darksylinc/qt-creator,malikcjm/qtcreator,omniacreator/qtcreator,syntheticpp/qt-creator,farseerri/git_code,xianian/qt-creator,farseerri/git_code,maui-packages/qt-creator,omniacreator/qtcreator,richardmg/qtcreator,colede/qtcreator,danimo/qt-creator,danimo/qt-creator,AltarBeastiful/qt-creator,maui-packages/qt-creator,ostash/qt-creator-i18n-uk,KDAB/KDAB-Creator,farseerri/git_code,malikcjm/qtcreator,duythanhphan/qt-creator,ostash/qt-creator-i18n-uk,hdweiss/qt-creator-visualizer,xianian/qt-creator,Distrotech/qtcreator,KDE/android-qt-creator,azat/qtcreator,jonnor/qt-creator,richardmg/qtcreator,colede/qtcreator,richardmg/qtcreator,martyone/sailfish-qtcreator,hdweiss/qt-creator-visualizer,amyvmiwei/qt-creator,xianian/qt-creator,duythanhphan/qt-creator,farseerri/git_code,ostash/qt-creator-i18n-uk,KDAB/KDAB-Creator,danimo/qt-creator,AltarBeastiful/qt-creator,Distrotech/qtcreator,kuba1/qtcreator,duythanhphan/qt-creator,farseerri/git_code,AltarBeastiful/qt-creator,xianian/qt-creator,omniacreator/qtcreator,ostash/qt-creator-i18n-uk,maui-packages/qt-creator,AltarBeastiful/qt-creator,duythanhphan/qt-creator,malikcjm/qtcreator,ostash/qt-creator-i18n-uk,martyone/sailfish-qtcreator,KDAB/KDAB-Creator,darksylinc/qt-creator,azat/qtcreator,syntheticpp/qt-creator,KDE/android-qt-creator,azat/qtcreator,KDE/android-qt-creator,kuba1/qtcreator,KDAB/KDAB-Creator,amyvmiwei/qt-creator,Distrotech/qtcreator,ostash/qt-creator-i18n-uk,syntheticpp/qt-creator,martyone/sailfish-qtcreator,omniacreator/qtcreator,kuba1/qtcreator,malikcjm/qtcreator,syntheticpp/qt-creator,martyone/sailfish-qtcreator,martyone/sailfish-qtcreator,AltarBeastiful/qt-creator,KDAB/KDAB-Creator,malikcjm/qtcreator,ostash/qt-creator-i18n-uk,AltarBeastiful/qt-creator,jonnor/qt-creator,AltarBeastiful/qt-creator,danimo/qt-creator,richardmg/qtcreator,maui-packages/qt-creator,danimo/qt-creator,xianian/qt-creator,colede/qtcreator,omniacreator/qtcreator,kuba1/qtcreator,jonnor/qt-creator,maui-packages/qt-creator,kuba1/qtcreator,darksylinc/qt-creator,colede/qtcreator,richardmg/qtcreator,KDAB/KDAB-Creator,jonnor/qt-creator,colede/qtcreator,martyone/sailfish-qtcreator,danimo/qt-creator,KDE/android-qt-creator,syntheticpp/qt-creator,amyvmiwei/qt-creator,jonnor/qt-creator,azat/qtcreator,darksylinc/qt-creator,hdweiss/qt-creator-visualizer