-
1. Re: Seam Text and \n
christian.bauer Sep 3, 2007 11:59 AM (in response to demetrio812)This is expected, you need to two \n to create a new paragraph.
-
2. Re: Seam Text and \n
demetrio812 Sep 3, 2007 12:33 PM (in response to demetrio812)but if I just want a line break (I mean a < br / >, in the first post it was hidden)? without a new paragraph
like this line I'm writing...I can't...
how can I do to extend it?
I need it coz all ppl that are using my app when they put a new line they aspect a new line in the result too so they see that like a bug...
thanks...
Demetrio -
3. Re: Seam Text and \n
christian.bauer Sep 3, 2007 1:22 PM (in response to demetrio812)Edit seam-text.g, run 'ant clean' and 'ant' in the Seam distribution.
-
4. Re: Seam Text and \n
demetrio812 Sep 3, 2007 3:58 PM (in response to demetrio812)Thanks, I will try, isn't there a way to add rules dynamically? I also want to add some application-related rules and this would be very cool...
I'm not an expert on this but if you give me the start I will try...
Thanks...
Demetrio -
5. Re: Seam Text and \n
demetrio812 Sep 10, 2007 7:08 AM (in response to demetrio812)Hi,
I think that not supporting is a bug, can I open a JIRA?
also, is there some news about the possibility to dinamically extending Seam Text?
Thanks
Demetrio -
6. Re: Seam Text and \n
demetrio812 Sep 19, 2007 2:34 AM (in response to demetrio812)Is there someone can answer here?
thanks
Demetrio -
7. Re: Seam Text and \n
matt.drees Sep 19, 2007 4:12 AM (in response to demetrio812)Seam Text is implemented by a lexer/parser generated by Antlr at buildtime. So, adding formatting rules at runtime isn't possible (AFAIK).
-
8. Re: Seam Text and \n
demetrio812 Sep 19, 2007 4:21 AM (in response to demetrio812)I see, even if I think a pluggable system over the antlr-generated base would be useful (even if for simpler expressions)...
btw so I think that the \n problem is a bug...
also I propose to change the "/" character for italic because it is very common in language and a lot of ppl using it wrong forgotting that it is a special character...
I know it's difficult to do coz of backwards compatibility, but I think we have to discuss this, what do you think?
demetrio -
9. Re: Seam Text and \n
pmuir Sep 19, 2007 5:33 AM (in response to demetrio812)Christian wrote some extensions for SeamText in the wiki - I don't know if they are the style you are looking for.
I don't think the \n is a bug - it's the syntax for SeamText. And I don't think we can change the language at this late a date. Interactive preview combined with Matt's validator shouldn't make either of these a large issue right? -
10. Re: Seam Text and \n
demetrio812 Sep 19, 2007 8:20 AM (in response to demetrio812)I know about the difficult of changing language now...
thanks I will check the wiki...
demetrio