fakevim: Fix crash when adding text to last line
fakevim: Fix crash when adding text to last line

Workaround for crash when in edit block and adding text to the last
empty line.

Change-Id: I46b84074bd6f6fbcae698671716e151ebab98f5b
Reviewed-by: Eike Ziller <c142da16c73a95a82d35191bcc55b22835617128@digia.com>
Reviewed-by: hjk <6fac1c92f5b9c7890a04d7f8a9d8912d16355eac@ovi.com>

AltarBeastiful/qt-creator,omniacreator/qtcreator,kuba1/qtcreator,kuba1/qtcreator,syntheticpp/qt-creator,danimo/qt-creator,amyvmiwei/qt-creator,martyone/sailfish-qtcreator,syntheticpp/qt-creator,AltarBeastiful/qt-creator,amyvmiwei/qt-creator,darksylinc/qt-creator,Distrotech/qtcreator,darksylinc/qt-creator,amyvmiwei/qt-creator,malikcjm/qtcreator,farseerri/git_code,AltarBeastiful/qt-creator,farseerri/git_code,xianian/qt-creator,xianian/qt-creator,darksylinc/qt-creator,danimo/qt-creator,richardmg/qtcreator,AltarBeastiful/qt-creator,richardmg/qtcreator,malikcjm/qtcreator,amyvmiwei/qt-creator,omniacreator/qtcreator,martyone/sailfish-qtcreator,xianian/qt-creator,colede/qtcreator,farseerri/git_code,richardmg/qtcreator,martyone/sailfish-qtcreator,malikcjm/qtcreator,kuba1/qtcreator,xianian/qt-creator,AltarBeastiful/qt-creator,kuba1/qtcreator,amyvmiwei/qt-creator,Distrotech/qtcreator,colede/qtcreator,malikcjm/qtcreator,martyone/sailfish-qtcreator,danimo/qt-creator,Distrotech/qtcreator,amyvmiwei/qt-creator,martyone/sailfish-qtcreator,colede/qtcreator,maui-packages/qt-creator,maui-packages/qt-creator,syntheticpp/qt-creator,kuba1/qtcreator,richardmg/qtcreator,richardmg/qtcreator,duythanhphan/qt-creator,maui-packages/qt-creator,martyone/sailfish-qtcreator,duythanhphan/qt-creator,xianian/qt-creator,danimo/qt-creator,duythanhphan/qt-creator,colede/qtcreator,Distrotech/qtcreator,martyone/sailfish-qtcreator,syntheticpp/qt-creator,Distrotech/qtcreator,farseerri/git_code,martyone/sailfish-qtcreator,darksylinc/qt-creator,duythanhphan/qt-creator,danimo/qt-creator,martyone/sailfish-qtcreator,omniacreator/qtcreator,colede/qtcreator,Distrotech/qtcreator,danimo/qt-creator,xianian/qt-creator,duythanhphan/qt-creator,farseerri/git_code,omniacreator/qtcreator,darksylinc/qt-creator,richardmg/qtcreator,darksylinc/qt-creator,omniacreator/qtcreator,amyvmiwei/qt-creator,AltarBeastiful/qt-creator,colede/qtcreator,farseerri/git_code,omniacreator/qtcreator,darksylinc/qt-creator,kuba1/qtcreator,xianian/qt-creator,kuba1/qtcreator,syntheticpp/qt-creator,farseerri/git_code,maui-packages/qt-creator,malikcjm/qtcreator,farseerri/git_code,malikcjm/qtcreator,syntheticpp/qt-creator,duythanhphan/qt-creator,colede/qtcreator,danimo/qt-creator,richardmg/qtcreator,maui-packages/qt-creator,kuba1/qtcreator,xianian/qt-creator,xianian/qt-creator,AltarBeastiful/qt-creator,duythanhphan/qt-creator,darksylinc/qt-creator,Distrotech/qtcreator,syntheticpp/qt-creator,danimo/qt-creator,amyvmiwei/qt-creator,danimo/qt-creator,omniacreator/qtcreator,AltarBeastiful/qt-creator,malikcjm/qtcreator,kuba1/qtcreator,maui-packages/qt-creator,maui-packages/qt-creator