Hi,
On Wed, Sep 30, 2009 at 9:18 PM, Thomas Mortagne
<thomas.mortagne(a)xwiki.com>wrote;wrote:
Hi devs,
I would like to modify the xwiki/2.0 renderer to print the group with
a trailing and ending new line:
1.A
(((
* list1
* list 2
)))
instead of
1.B
(((* list1
* list 2)))
for example but it also mean:
2.A
| (((
* list
))) | second cell
instead of
2.B
| (((* list with one item)))
Here are my arguments:
* i tough of that idea at first because it's not very easy/clean to
support well the escaping of an ending ) before a ending group in an
events based renderer, the problem is that you need to bufferize at
least 4 events (if not more) to know when you print the ) character
that it will be followed by end group syntax when printed. For example
it can be the last character of paragraph in the last cell or last row
of a table before the end of the group
* i prefer to "break" 2.A done on purpose than 1.A done on purpose
since it's not possible to support both currently
* even with 2.A it's more readable to have it in its own line IMO
Here is my +1
+1
Thanks.
--
Thomas Mortagne
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs