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