« Return to Thread: pier

Re: pier

by Lukas Renggli-2 :: Rate this Message:

Reply to Author | View in Thread

> It works!
> But I have still one problem.
>
> When I type new line in text area,
> PRViewRenderer show me whole text in one line.

That's a new feature. You need to add an empty line in-between to get  
a new paragraph started. This behavior is similar to the one you have  
in the LaTeX markup language for paragraphs.

For example in my image the following test passes:

        string := 'foo' , String cr , 'bar'.
        document := PRDocumentParser parse: string.
        self assert: (PRWikiWriter write: document) = string

> But when i try edit again, in text area i see multiple line text.

There is something wrong. Do the Pier tests pass? If not try to  
evaluate:

        PRDocumentParser classPool
                removeKey: #LineMatcher;
                removeKey: #LineMatcherDefault;
                removeKey: #TextMatcher

If that doesn't help, could you show some code so that we can try to  
reproduce the problem?

Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch


_______________________________________________
SmallWiki, Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki

 « Return to Thread: pier

LightInTheBox - Buy quality products at wholesale price