CppEditor: Don't calculate current index twice
CppEditor: Don't calculate current index twice

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