[stringtemplate-interest] indented IFs in STv4
parrt at cs.usfca.edu
Fri Nov 6 17:04:10 PST 2009
Ooops. correct that it should not indent twice...but it shouldn't
indent even once:
The IF indent indicates you want that as just a "readability" indent
and not a true one. We have to subtract that from indent of foo or bar.
An IF on line by itself is a true indent:
On Nov 6, 2009, at 2:47 PM, Terence Parr wrote:
> Some of you have asked for (and I've wanted) to indent IFs w/o
> screwing up the indentation. For example,
> should not indent foo or bar twice, which it did in STv3. result is
> took me a bit to make this happen but worth it.
> stringtemplate-interest mailing list
> stringtemplate-interest at antlr.org
More information about the stringtemplate-interest