[stringtemplate-interest] Newline removal

Roman Odaisky roma at qwertty.com
Tue Sep 23 10:41:45 PDT 2008


Hi,

> TheWhitespace immediately following | is removed (Should be buried
> somewhere in the manual) ;)

I understand that. My concern is inconsistent behaviour. For example, I have 
changed { to {_| several times to eat those newlines, and that hardly 
improves readability.

Perhaps if the $...:{ occupies the entire line, the newline should be removed 
as well?

<div>$some_flag:{ $! no need to remove newline !$
    <div>

<div>
$some_flag:{ $! should produce no empty line !$
    <div>

-- 
WBR
Roman.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2286 bytes
Desc: not available
Url : http://www.antlr.org:8080/pipermail/stringtemplate-interest/attachments/20080923/206a1264/attachment.bin 


More information about the stringtemplate-interest mailing list