Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mylyn » Problem with TextileLanguage(Wrong behavior with whitespace before any line)
Problem with TextileLanguage [message #629974] Thu, 30 September 2010 07:51 Go to next message
Nirmal SasidharanFriend
Messages: 120
Registered: July 2009
Location: Germany
Senior Member
Hello,

I have noticed a specific behavior in Textile Wikitext and wanted to check if this is as expected.

If I have two textile files as below, TextileLanguage seems to behave differently.

File1.textile
This is a line with no whitespace in front


File2.textile
 This is a line with whitespace in front


TextileLanguage first creates a block and then characters for File1.textile, but for File2.textile it creates characters without an enclosing block.

I am creating a EMF based Wiki model based on the sequence of events and this difference in behavior would create an invalid model.

Thanks in advance,

Regards,
Nirmal
Re: Problem with TextileLanguage [message #631483 is a reply to message #629974] Thu, 07 October 2010 16:02 Go to previous messageGo to next message
David Green is currently offline David GreenFriend
Messages: 136
Registered: July 2009
Senior Member
Nirmal,

This is expected behaviour of Textile: prefixing a paragraph with a
space results in a paragraph that is not wrapped by tags. See
http://thresholdstate.com/articles/4312/the-textile-referenc e-manual?ch=2#toc_1
for more details.

Regards,

David

On 9/30/2010 12:51 AM, Nirmal Sasidharan wrote:
> Hello,
>
> I have noticed a specific behavior in Textile Wikitext and wanted to
> check if this is as expected.
>
> If I have two textile files as below, TextileLanguage seems to behave
> differently.
>
> File1.textile
>
> This is a line with no whitespace in front
>
>
> File2.textile
>
> This is a line with whitespace in front
>
>
> TextileLanguage first creates a block and then characters for
> File1.textile, but for File2.textile it creates characters without an
> enclosing block.
>
> I am creating a EMF based Wiki model based on the sequence of events and
> this difference in behavior would create an invalid model.
>
> Thanks in advance,
>
> Regards,
> Nirmal
Re: Problem with TextileLanguage [message #631601 is a reply to message #631483] Fri, 08 October 2010 07:42 Go to previous message
Nirmal SasidharanFriend
Messages: 120
Registered: July 2009
Location: Germany
Senior Member
Thanks David for pointing this out. I have now changed my model to support this behavior.

Regards,
Nirmal
Previous Topic:Any way to tune package/projects views focusing behaviour?
Next Topic:Whitespace inside Tables lost in Textile
Goto Forum:
  


Current Time: Thu Apr 25 09:28:53 GMT 2024

Powered by FUDForum. Page generated in 0.03258 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top