Hi,
On Thu, Mar 5, 2009 at 1:16 PM, Thomas Mortagne
<thomas.mortagne(a)xwiki.com>wrote;wrote:
Hi devs,
We have to make a decision about that.
So here are the proposals:
1) remove the block leading and trainling spaces
* The main goal is to make source formatting for tables for example
more readable
The main effect of this will be that the WYSIWYG will have to insert
~<space> when the user presses tab right ?
2) make the spaces inside paragraph non meaningfull
* Meaning an HTML like behavior where multiple spaces give one space
3) in case of 1) or 2) use ~<space> as non breaking space
WDYT ?
+0,5 for 1) it's not critical for me but i'm not against it and we
already decided to remove space before list item, headers etc.
+0 for 1)
-0 for 2) I don't see the need for that and
it's a lot easier for the
parser to make spaces meaningfull (what to do when you have "test **
bold**" and things like that)
-0 for 2)
+1 for 3)
+1 for 3)
Guillaume
On Sat, Feb 28, 2009 at 15:44, Vincent Massol
<vincent(a)massol.net> wrote:
Hi,
This is our last chance to change this behavior. We've found several
places where having meaningful spaces are counter-productive:
* in table cells since we can't align table anymore. For example:
|= column1 |= column2
| this is some para | second column
| hello | world
(not sure this will be rendered nicely in mail but you see what I mean)
* in scripts since having meaningful spaces prevents us from aligning
velocity or groovy scripts. For ex we can't write:
#if (....)
#if (...)
do something
# end
#end
To see a better example have a look at
http://tinyurl.com/ahz669
What I think users real want are meaningful new lines but I see cons
overweighting pros for having meaningful white spaces. Thus I'm think
we should strip whitespaces at beginning and end of lines including
for line breaks.
I'm slightly less sure for multiple spaces between words but even
there I think we could strip them have users use {{{ }}} to put a non
breaking space for ex (or introduce a {{space/}} macro or another
special syntax although I'd rather we don't introduce a new syntax).
WDYT?
Thanks
-Vincent
http://xwiki.com
http://xwiki.org
http://massol.net
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
--
Thomas Mortagne
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
--
Guillaume Lerouge
Product Manager - XWiki
Skype ID : wikibc
http://guillaumelerouge.com/