[stringtemplate-interest] Wrapping and expression for fixed right edge
Terence Parr
parrt at cs.usfca.edu
Wed Nov 25 11:43:46 PST 2009
Hi Scott, i misspoke, if there's a newline within a string literal to spit out, it will wrap properly. ST always maintains left edge correctly.
T
On Nov 16, 2009, at 5:47 PM, Terence Parr wrote:
>
> On Nov 16, 2009, at 12:50 PM, Scott Waye wrote:
>
>> Brain, Jim wrote:
>>> I'm new here as well, but I thought I saw something that is built-in:
>>>
>>> http://www.antlr.org/wiki/display/ST/Automatic+line+wrapping
>>>
>>> Maybe this will work?
>>>
>>> Jim
>>>
>> From what I understand on that page, and my experiments, it will not
>> wrap _within_ an expression.
>>>
>
> That's true. You could make an output writer as you said that splits.
> Ter
> _______________________________________________
> stringtemplate-interest mailing list
> stringtemplate-interest at antlr.org
> http://www.antlr.org/mailman/listinfo/stringtemplate-interest
More information about the stringtemplate-interest
mailing list