Registered Member
|
Hello all,
Since upgrading to KDE4 I've been having issues with Kate and the other KDE apps with the text editor embedded. When writing code my norm is to use tabs for indentation and spaces for subsequent alignment -- so that the 'tab width' setting can be set to arbitrary values and the code will always align. See e.g. http://stianse.wordpress.com/2008/11/17 ... th-spaces/ In KDE3 versions of Kate this seemed to happen automatically. Now, in KDE4, any indentation larger than the tab width is automatically turned into a tab, even if in the preceding line the desired tab/space indentation is already present. I've tried playing with various parts of Kate's settings but to no avail. So, can anyone explain if/how can I get effective tab/space indentation in KDE4's Kate? Thanks & best wishes, -- Joe |
Registered Member
|
The principle expounded at http://www.emacswiki.org/emacs/SmartTabs may be of use here. Basically, set the tab size and indentation offset to a temporary large value, indent, and change back. This will give tabs for indentation and spaces for (any) alignment.
An extension to do this automatically each time you indent, perhaps? |
Registered Member
|
It's an interesting document -- thanks for pointing me to it!
Searching around, it looks like Kate ought to already provide this functionality in KDE 4.3.2: http://lists.kde.org/?l=kwrite-devel&m= ... 622421&w=2 ... so I'm wondering what's wrong with my settings that it doesn't already behave like this. |
Registered Member
|
Searching a bit further ... looks like this is a bug that should be fixed in an upcoming release:
https://bugs.kde.org/show_bug.cgi?id=214147 |
Registered users: Bing [Bot], Google [Bot], Sogou [Bot]