[prev in list] [next in list] [prev in thread] [next in thread]
List: kwrite-devel
Subject: Re: [patch] Ability to force indent with spaces in alignment from
From: Leo Savernik <l.savernik () aon ! at>
Date: 2008-05-29 18:02:00
Message-ID: 200805292002.01455.l.savernik () aon ! at
[Download RAW message or body]
Am Donnerstag, 29. Mai 2008 schrieb Robin Pedersen:
> > Example situation where this is useful:
> >> > foobar("Hello, world",
> >> > ......."How are you?")
> >
> > Notice how the second line is aligned under the opening parenthesis in
> >
> > the first line. Currently, the kate indenter does this instead:
> >> > foobar("Hello, world",
> >> > > ..."How are you?")
This is mixed mode. I remember we decided against mixed mode in Glasgow to
keep the scripting api as simple as possible.
Can't mixed mode be emulated by simply copying the nearest previous non-empty
line and adding only spaces for new indentation levels? Taking your example,
copy as leading indentation '> > ' from the previous line and padding
with spaces only as shown in your first example.
mfg
Leo
_______________________________________________
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