tab-size in QEditor

Milo Hoffman Milo at NG-Projekt.ORG
Mon Jan 13 05:25:09 UTC 2003


Hi,

while the indentconfigpage.* files let me select a tabsize different from 8 
chars, QEditor does not set this value consistent. Every time i open a new 
file (or gideon itself), tab-width's are aligned to 8 char-boundary. After 
using the indentconfigpage again, the tabs are aligned as setup.

This is due to the order of calling setFont and setTabStopWidth in 
QEditor::updateStyles(). Moving the setFont call below the two 
setTabStopWidth calls, removes this bug.

Milo




More information about the KDevelop-devel mailing list