Fixed the {begin,end}EndBlock to be used when inserting autotext
Fixed the {begin,end}EndBlock to be used when inserting autotext

Based on a change by Denis Dzyubenko, done with mae.

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