fakevim: Improved command line mode
fakevim: Improved command line mode

Traverse only history items starting with current command line content.

Clear messages only if necessary.

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

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