Skip to main content



      Home
Home » Eclipse Projects » Mylyn » Problem with TextileLanguage(Wrong behavior with whitespace before any line)
Problem with TextileLanguage [message #629974] Thu, 30 September 2010 03:51 Go to next message
Eclipse UserFriend
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 12:02 Go to previous messageGo to next message
Eclipse UserFriend
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 03:42 Go to previous message
Eclipse UserFriend
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 Jun 19 02:26:44 EDT 2025

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

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

Back to the top