Summary: | Kates makes spaces instead of Tabs | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Thomas Kamps <progger1986> |
Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | cullmann |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Thomas Kamps
2008-02-07 09:25:51 UTC
The problem has to do with with the Settings for indent-depht and tab-width. When pressing Tab, Kate makes an indent with the given ident-depth and uses as much Tabs as possible. Exaples: 1. intent-depth 5, tab-width: 2-> When pressing Tab you get 2 tabs and one space 2. indet-depth 6, tab-width: 6 -> 1 tab 3. indet-depth 2, tab-width: 8 -> 2 spaces Possible solution: Kate/krwite indents tabs to the given indent-depth; always And only if "use spaces instead of tabs" is active, kate/kwrite makes n spaces, where n ist the given tab-width. This problem is away with the new settings for indentation/edit in KDE 4.2's Kate, still there is now the issue of inserting tabs, if you have enforced spaces, but thats Bug 145664. |