[Bug 251025] [REGRESSION] kompare: setting tabwidth to anything < 4 shows only the first level of indentation

Kevin Kofler kevin.kofler at chello.at
Thu Feb 9 00:19:01 UTC 2012


https://bugs.kde.org/show_bug.cgi?id=251025





--- Comment #2 from Kevin Kofler <kevin kofler chello at>  2012-02-09 00:19:01 ---
Hmmm, the KompareListViewLineItem::expandTabs routine uses the following
formula:
QString(tabstop-((startPos+index)%4),' ')
which looks very wrong to me. The hardcoded "4" does not make any sense
whatsoever. The regression was introduced by this commit:
http://websvn.kde.org/?view=revision&revision=1026032
by je4d.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Kompare-devel mailing list