Fixed possible crash when using completion when completing code in invalid documents.
Fixed possible crash when using completion when completing code in invalid documents.

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