Editor: deselect text on contextmenuevent if...
Editor: deselect text on contextmenuevent if...

... the event was raised on a position outside of the selection

Task-number: QTCREATORBUG-6734
Change-Id: Ida4ede1e5e7c118799212a1a6cf4766eec969b4a
Reviewed-by: Leandro Melo <8f144cd741810d8c7b648cacf5b9b2f4e2ebcc1b@nokia.com>

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