Bug 449232 - Kate cannot indent with tabs anymore
Summary: Kate cannot indent with tabs anymore
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: kdesdk
Version: 9
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Than Ngo
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-05-31 19:02 UTC by CS Wagner
Modified: 2008-06-02 16:51 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-05-31 20:19:28 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description CS Wagner 2008-05-31 19:02:41 UTC
Description of problem:
New "feature" in Fedora 9/KDE4 is that Kate cannot increase indentation levels
using tabs.  It can only use spaces.  Previous versions of Kate used the
indentation found on the line.  If it was indented with tabs, it added another
tab.  If it was indented with spaces, it added more spaces.

Version-Release number of selected component (if applicable):
Kate 3.0.4/KDE 4.0.4

How reproducible:
Create a file (program/script).  Indent with tabs.  Highlight some code and
increase indentation level.  It will add spaces, not tabs, to increase the
indentation level.

Steps to Reproduce:
1. Create code with tabs
2. Highlight part of the code
3. Increase indentation level
  
Actual results:
Spaces are added to increase indentation level.

Expected results:
An extra tab should be added to increase indentation level.

Additional info:
The expected response to this is, "Just use spaces, not tabs."  However, I have
many years of code that uses tabs for indentation.  I do not want to go through
600 gigs of code and convert all tabs to spaces just to make a bug in Kate feel
warm and fuzzy about itself.

Comment 1 Rex Dieter 2008-05-31 20:06:28 UTC
This is (mostly likely) an upstream issue, not a fedora one.  You'd be better
served reporting this to bugs.kde.org.  When/if you, please let us know, so we
can continue to track the issue there.

Comment 2 CS Wagner 2008-05-31 20:18:37 UTC
On bugs.kde.org, I found that the feature has not been removed.  The redesign of
the configuration is a mess.  If you set the tab level and indentation level to
the same number of characters, it will indent with tabs.  Otherwise, it will
indent with spaces.  There are complaints of inability to indent with spaces
(because both are the same) as well as inability to indent with tabs (because
they are set different).  It is obvious that the configuration panel needs a
redesign to make it clear what the user is setting.

Comment 3 Kevin Kofler 2008-06-02 16:51:09 UTC
FYI, there are several bugs filed upstream about this and related issues, some 
of them by me.


Note You need to log in before you can comment on or make changes to this bug.