fakevim: handle cursor keys in Replace mode
fakevim: handle cursor keys in Replace mode

Task-number: QTCREATORBUG-5647
Change-Id: I06bf6b859ac5111b5692c003aab2d003a0c7b110
(cherry picked from commit 18b74f087bc9d898f30b21478c09b8897dc1d444)
Reviewed-on: http://codereview.qt.nokia.com/2577
Reviewed-by: Qt Sanity Bot <5581206bb7e0307f0d99eb71898ae6b694149ca5@ovi.com>
Reviewed-by: Eike Ziller <c142da16c73a95a82d35191bcc55b22835617128@nokia.com>

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