[stringtemplate-interest] Output string lengths..

Terence Parr parrt at cs.usfca.edu
Wed Nov 29 08:29:40 PST 2006


You could add this to the FAQ for ST too :)

Ter
On Nov 29, 2006, at 2:50 AM, Hill, Robert wrote:

> Ok, cheers Ter
> 	I'll write myself a custom renderer to do this.
>
> Thanks!
>
> Rob
>
> Robert Hill
> Information Engineer
> EDS UKIMEA DWP ACU, Hallamshire Business Park, 100 Napier St,  
> Sheffield.
> S11 8HD
> email:	rhill03 at eds.com
> Office:	+44 114 291 1928
> Mobile:	+44 7903 185 516
>
>
>
>> -----Original Message-----
>> From: stringtemplate-interest-bounces at antlr.org
>> [mailto:stringtemplate-interest-bounces at antlr.org] On Behalf
>> Of Terence Parr
>> Sent: 29 November 2006 01:33
>> To: StringTemplate
>> Subject: Re: [stringtemplate-interest] Output string lengths..
>>
>>
>> On Nov 21, 2006, at 11:27 PM, Hill, Robert wrote:
>>
>>> Is there anyway I can make each string in a list be rendered at a
>>> minimum length?
>> I cannot think of anything off the top of my head, other than
>> some kind of renderer that automatically pads the toString()
>> output of its wrapped object if the output is less than a
>> particular length.
>>
>> Ter
>>
>> _______________________________________________
>> stringtemplate-interest mailing list
>> stringtemplate-interest at antlr.org
>> http://www.antlr.org:8080/mailman/listinfo/stringtemplate-interest
>>
> _______________________________________________
> stringtemplate-interest mailing list
> stringtemplate-interest at antlr.org
> http://www.antlr.org:8080/mailman/listinfo/stringtemplate-interest



More information about the stringtemplate-interest mailing list