Fixed Delete and Backspace in specific cases when renaming in-place
Fixed Delete and Backspace in specific cases when renaming in-place

The Delete and Backspace keys are blocked when the cursor is
respectively at the end or beginning of a word that is being renamed
in-place. However, when there is a selection, the removal of this
selection is still supposed to be allowed.

Reviewed-by: Robert Loehning

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