[stringtemplate-interest] Newbie question

Brain, Jim JBrain at Aegonusa.com
Mon Oct 26 10:55:01 PDT 2009


> perhaps you want to use wrap?

I can, though if I can't use autoindent, I'd rather do something like:

$reader;indent='    ':{$it$
}$

That way I don't have to try to keep the initial indent and the wrap in sync manually.


> Yep, since it can't compute statically if a \n occurs inside.

Ah, makes sense.

Jim



More information about the stringtemplate-interest mailing list