[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kwrite-devel
Subject:    Re: kate indentation system (again)
From:       Dominik Haumann <dhdev () gmx ! de>
Date:       2007-07-19 7:04:53
Message-ID: 200707190904.55051.dhdev () gmx ! de
[Download RAW message or body]

On Thursday 19 July 2007, Christoph Cullmann wrote:
> On Thursday 19 July 2007 00:59, Dominik Haumann wrote:
> > 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
>
> We can do so. But as vim doesn't, too, I am not sure, if that really is a
> valid usecase, it makes the code much more complex, as the
> unindent/indent routines would need script logic than, too, as there
> could be interesting things happening on indent/unindent, or?

Right, indent/deindent would screw it up, but that's it then ;)

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