[Bug 58017] New: incorrect column count in editor (\t counted as character)

daniel.franke at imbs.uni-luebeck.de daniel.franke at imbs.uni-luebeck.de
Fri May 2 15:57:09 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=58017     
           Summary: incorrect column count in editor (\t counted as
                    character)
           Product: kdevelop
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Solaris
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-devel at kdevelop.org
        ReportedBy: daniel.franke at imbs.uni-luebeck.de


Version:           3.0.0a4 (using KDE 3.1.1)
Installed from:    compiled sources
Compiler:          gcc version 3.2.2
OS:          SunOS (sun4u) release 5.8

"Line: Y Col: X":

X is counted incorrectly when using tabs. It's counting the number of tabs (number of characters) instead of "number of tabs" * "tabwidth".

This is a lot of text .... bla   -> X = 30
\t      \t      \t      \t      \t     -> X = 5 (instead of, one might expect, say 30)

This might be a bug in kate instead of kdevelop?




More information about the KDevelop-devel mailing list