Fix repaint issue with collapsed blocks
Fix repaint issue with collapsed blocks

BaseTextEdit's paint event relied on us setting the line count of
invisible blocks to 0. This was not always the case, causing pixel
garbage to occur.

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