fakevim: update document's cursor before triggering search
fakevim: update document's cursor before triggering search

otherwise, incremental search would not always begin at the current cursor position

Merge-request: 97
Reviewed-by: hjk <a5b10b69f8138684917b6497d164c14d2a2aa981@nokia.com>

richardmg/qtcreator,hdweiss/qt-creator-visualizer,syntheticpp/qt-creator,omniacreator/qtcreator,farseerri/git_code,amyvmiwei/qt-creator,xianian/qt-creator,AltarBeastiful/qt-creator,martyone/sailfish-qtcreator,renatofilho/QtCreator,omniacreator/qtcreator,azat/qtcreator,duythanhphan/qt-creator,sandsmark/qtcreator-minimap,farseerri/git_code,martyone/sailfish-qtcreator,hdweiss/qt-creator-visualizer,pcacjr/qt-creator,maui-packages/qt-creator,renatofilho/QtCreator,omniacreator/qtcreator,enricoros/k-qt-creator-inspector,enricoros/k-qt-creator-inspector,danimo/qt-creator,Distrotech/qtcreator,bakaiadam/collaborative_qt_creator,syntheticpp/qt-creator,pcacjr/qt-creator,malikcjm/qtcreator,jonnor/qt-creator,enricoros/k-qt-creator-inspector,maui-packages/qt-creator,dmik/qt-creator-os2,farseerri/git_code,omniacreator/qtcreator,richardmg/qtcreator,duythanhphan/qt-creator,xianian/qt-creator,darksylinc/qt-creator,kuba1/qtcreator,pcacjr/qt-creator,omniacreator/qtcreator,yinyunqiao/qtcreator,colede/qtcreator,richardmg/qtcreator,farseerri/git_code,KDAB/KDAB-Creator,yinyunqiao/qtcreator,Distrotech/qtcreator,Distrotech/qtcreator,AltarBeastiful/qt-creator,dmik/qt-creator-os2,danimo/qt-creator,darksylinc/qt-creator,richardmg/qtcreator,Distrotech/qtcreator,xianian/qt-creator,syntheticpp/qt-creator,farseerri/git_code,pcacjr/qt-creator,syntheticpp/qt-creator,dmik/qt-creator-os2,dmik/qt-creator-os2,Distrotech/qtcreator,maui-packages/qt-creator,enricoros/k-qt-creator-inspector,KDE/android-qt-creator,maui-packages/qt-creator,malikcjm/qtcreator,darksylinc/qt-creator,enricoros/k-qt-creator-inspector,bakaiadam/collaborative_qt_creator,AltarBeastiful/qt-creator,jonnor/qt-creator,xianian/qt-creator,colede/qtcreator,renatofilho/QtCreator,kuba1/qtcreator,darksylinc/qt-creator,yinyunqiao/qtcreator,bakaiadam/collaborative_qt_creator,malikcjm/qtcreator,danimo/qt-creator,ostash/qt-creator-i18n-uk,xianian/qt-creator,sandsmark/qtcreator-minimap,jonnor/qt-creator,azat/qtcreator,bakaiadam/collaborative_qt_creator,KDAB/KDAB-Creator,sandsmark/qtcreator-minimap,ostash/qt-creator-i18n-uk,richardmg/qtcreator,KDE/android-qt-creator,hdweiss/qt-creator-visualizer,ostash/qt-creator-i18n-uk,duythanhphan/qt-creator,duythanhphan/qt-creator,xianian/qt-creator,KDAB/KDAB-Creator,bakaiadam/collaborative_qt_creator,kuba1/qtcreator,sandsmark/qtcreator-minimap,omniacreator/qtcreator,danimo/qt-creator,Distrotech/qtcreator,KDE/android-qt-creator,azat/qtcreator,duythanhphan/qt-creator,danimo/qt-creator,KDE/android-qt-creator,pcacjr/qt-creator,amyvmiwei/qt-creator,KDAB/KDAB-Creator,martyone/sailfish-qtcreator,KDE/android-qt-creator,darksylinc/qt-creator,jonnor/qt-creator,martyone/sailfish-qtcreator,KDAB/KDAB-Creator,xianian/qt-creator,syntheticpp/qt-creator,darksylinc/qt-creator,colede/qtcreator,enricoros/k-qt-creator-inspector,darksylinc/qt-creator,darksylinc/qt-creator,ostash/qt-creator-i18n-uk,martyone/sailfish-qtcreator,maui-packages/qt-creator,sandsmark/qtcreator-minimap,AltarBeastiful/qt-creator,danimo/qt-creator,KDE/android-qt-creator,martyone/sailfish-qtcreator,colede/qtcreator,kuba1/qtcreator,duythanhphan/qt-creator,AltarBeastiful/qt-creator,martyone/sailfish-qtcreator,farseerri/git_code,jonnor/qt-creator,kuba1/qtcreator,ostash/qt-creator-i18n-uk,dmik/qt-creator-os2,amyvmiwei/qt-creator,hdweiss/qt-creator-visualizer,KDE/android-qt-creator,danimo/qt-creator,Distrotech/qtcreator,pcacjr/qt-creator,yinyunqiao/qtcreator,renatofilho/QtCreator,martyone/sailfish-qtcreator,amyvmiwei/qt-creator,richardmg/qtcreator,kuba1/qtcreator,hdweiss/qt-creator-visualizer,amyvmiwei/qt-creator,kuba1/qtcreator,kuba1/qtcreator,danimo/qt-creator,ostash/qt-creator-i18n-uk,dmik/qt-creator-os2,malikcjm/qtcreator,enricoros/k-qt-creator-inspector,malikcjm/qtcreator,bakaiadam/collaborative_qt_creator,sandsmark/qtcreator-minimap,richardmg/qtcreator,xianian/qt-creator,yinyunqiao/qtcreator,yinyunqiao/qtcreator,renatofilho/QtCreator,colede/qtcreator,xianian/qt-creator,azat/qtcreator,danimo/qt-creator,jonnor/qt-creator,colede/qtcreator,duythanhphan/qt-creator,ostash/qt-creator-i18n-uk,omniacreator/qtcreator,hdweiss/qt-creator-visualizer,azat/qtcreator,AltarBeastiful/qt-creator,syntheticpp/qt-creator,KDE/android-qt-creator,dmik/qt-creator-os2,renatofilho/QtCreator,colede/qtcreator,bakaiadam/collaborative_qt_creator,KDAB/KDAB-Creator,amyvmiwei/qt-creator,amyvmiwei/qt-creator,azat/qtcreator,malikcjm/qtcreator,yinyunqiao/qtcreator,pcacjr/qt-creator,AltarBeastiful/qt-creator,maui-packages/qt-creator,kuba1/qtcreator,farseerri/git_code,amyvmiwei/qt-creator,AltarBeastiful/qt-creator,maui-packages/qt-creator,martyone/sailfish-qtcreator,syntheticpp/qt-creator,malikcjm/qtcreator,farseerri/git_code