[prev in list] [next in list] [prev in thread] [next in thread]
List: kwrite-devel
Subject: kate indentation system (again)
From: Dominik Haumann <dhdev () gmx ! de>
Date: 2007-07-18 22:59:52
Message-ID: 200707190059.53373.dhdev () gmx ! de
[Download RAW message or body]
hi,
as a comment to my last blog I got a comment that the system is broken by
design with regard to the tab indentation mode (and that's of course true,
that's how we designed it after all). example:
<tab>foo(bla,
<tab>....<-4 spaces
It's true that our code right now produces <tab><tab> by design ;)
But still, can we maybe still provide both?
What about extending the return type of the indent() function:
- if the return value is a single number -> interpret as tab+spaces
- if the return value is an array with 2 numbers -> interpret the first
number as tab+spaces and the second one as (forced) spaces only
Comments welcome.
Dominik
_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@kde.org
https://mail.kde.org/mailman/listinfo/kwrite-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic