[Bug 48407] New: the tab character is not correctly handled

[email protected] 28 Sep 2002 10:25:17 -0000
Newsgroups gmane.comp.kde.devel.kate
Message-ID <[email protected]>
------- 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=48407     
           Summary: the tab character is not correctly handled
           Product: kate
           Version: unspecified
          Platform: Debian testing
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Version:           2.12.1 (using KDE KDE 3.0.7)
Installed from:    Debian testing/unstable Packages (testing/unstable)
Compiler:          gcc version 2.95.4 20011002 (Debian prerelease)
OS:          Linux (i686) release 2.4.17-xfs

Unlike earlier versions, Kate 2.1 (which comes with KDE 3.1Beta1) displays the tab character always as N spaces (as set in the configuration) regardless of which column the character is in. 

An example of incorrect behaviour (I'm using spaces to illustrate the effect, so please view this in a monospace font. The period (.) indicates a tab character):

a.      b
aa.      b
aaa.      b
aaaa.      b

The way this should look is:

a.      b
aa.     b
aaa.    b
aaaa.   b

Note that his problem disappeares if "Replace tabs with spaces" is checked. This, thought, doesn't help with files that already contain tabs when opened.

Thank you for your time!
Regards, Sami.