TextEditor: Avoid repetitive calls
TextEditor: Avoid repetitive calls

Change-Id: Iae1e32c1c078bbc6605b8baa8d856cd30f84b239
Reviewed-by: David Schulz <f07954e8cc0c222cd136162588d217f330598215@digia.com>

xianian/qt-creator,AltarBeastiful/qt-creator,farseerri/git_code,AltarBeastiful/qt-creator,amyvmiwei/qt-creator,kuba1/qtcreator,amyvmiwei/qt-creator,maui-packages/qt-creator,amyvmiwei/qt-creator,maui-packages/qt-creator,xianian/qt-creator,Distrotech/qtcreator,farseerri/git_code,martyone/sailfish-qtcreator,amyvmiwei/qt-creator,kuba1/qtcreator,danimo/qt-creator,amyvmiwei/qt-creator,AltarBeastiful/qt-creator,farseerri/git_code,danimo/qt-creator,xianian/qt-creator,martyone/sailfish-qtcreator,Distrotech/qtcreator,AltarBeastiful/qt-creator,xianian/qt-creator,danimo/qt-creator,kuba1/qtcreator,martyone/sailfish-qtcreator,danimo/qt-creator,AltarBeastiful/qt-creator,kuba1/qtcreator,farseerri/git_code,kuba1/qtcreator,Distrotech/qtcreator,martyone/sailfish-qtcreator,Distrotech/qtcreator,Distrotech/qtcreator,maui-packages/qt-creator,Distrotech/qtcreator,kuba1/qtcreator,maui-packages/qt-creator,martyone/sailfish-qtcreator,martyone/sailfish-qtcreator,maui-packages/qt-creator,kuba1/qtcreator,xianian/qt-creator,xianian/qt-creator,xianian/qt-creator,farseerri/git_code,xianian/qt-creator,amyvmiwei/qt-creator,Distrotech/qtcreator,danimo/qt-creator,kuba1/qtcreator,AltarBeastiful/qt-creator,danimo/qt-creator,farseerri/git_code,kuba1/qtcreator,amyvmiwei/qt-creator,maui-packages/qt-creator,danimo/qt-creator,martyone/sailfish-qtcreator,farseerri/git_code,martyone/sailfish-qtcreator,AltarBeastiful/qt-creator,farseerri/git_code,amyvmiwei/qt-creator,AltarBeastiful/qt-creator,xianian/qt-creator,danimo/qt-creator,martyone/sailfish-qtcreator,danimo/qt-creator,maui-packages/qt-creator