WikiText preview [message #65674] |
Thu, 19 February 2009 14:48  |
Eclipse User |
|
|
|
Originally posted by: tbone13.gmx.de
Hello,
I'm trying to use Mylyn WikiText in my little RCP-App.
I tried it in the IDE with a generic project and a file "test.textile"
und tried to start with a heading
"
h1. test
some text
"
(w/o the quotes)
For a second I can see a well formatted output in the preview editor
page. but after this second it looks like this:
"blank#test"
no more text or any fomatting.
Is it a bug or did I miss some configuration?
Thanks in advance
Grretings
Tobi
|
|
|
Re: WikiText preview [message #65763 is a reply to message #65674] |
Fri, 20 February 2009 11:10   |
Eclipse User |
|
|
|
Originally posted by: tbone13.gmx.de
Hello!
I have some addition to my previous post.
The HTML source of the preview is
<HTML>blank#test</HTML>
so I think there is a problem in the parser.
On the other hand I tried the Task editor with textile-comment and it
works well. the same when I export HTML from the textile file
Greetings
Tobi
|
|
|
Re: WikiText preview [message #65785 is a reply to message #65763] |
Fri, 20 February 2009 22:40   |
Eclipse User |
|
|
|
Tobias Schröder wrote:
> On the other hand I tried the Task editor with textile-comment and it
> works well. the same when I export HTML from the textile file
Tobi,
There's a great little example application that you can see if you
install the WikiText projects into your workspace (see
http://wiki.eclipse.org/index.php/Mylyn/Contributor_Referenc e#Workspace).
The code demonstrates how to integrate WikiText parsing for display with
a Browser widget as well as with the MarkupViewer.
The class is org.eclipse.mylyn.wikitext.textile.core.Main and you can
run it by right-clicking on the file in Eclipse and selecting Run
As->Java Application
If after looking at that code you still have problems please file a bug
at Eclipse.org and attach the problem code.
David
|
|
|
Re: WikiText preview [message #65877 is a reply to message #65785] |
Tue, 24 February 2009 14:21   |
Eclipse User |
|
|
|
Originally posted by: tbone13.gmx.de
David Green schrieb:
> Tobias Schröder wrote:
>> On the other hand I tried the Task editor with textile-comment and it
>> works well. the same when I export HTML from the textile file
>
> Tobi,
>
> There's a great little example application that you can see if you
> install the WikiText projects into your workspace (see
> http://wiki.eclipse.org/index.php/Mylyn/Contributor_Referenc e#Workspace).
> The code demonstrates how to integrate WikiText parsing for display with
> a Browser widget as well as with the MarkupViewer.
>
> The class is org.eclipse.mylyn.wikitext.textile.core.Main and you can
> run it by right-clicking on the file in Eclipse and selecting Run
> As->Java Application
>
> If after looking at that code you still have problems please file a bug
> at Eclipse.org and attach the problem code.
>
> David
>
David,
I found my mistake. I used the Weekly Updatesites, Mylyn 3.1 and
WikiText 0.9.4. I don't know if it is a bug or version conflict with the
rest of my installation. back to Mylyn 3.0.2 and WikiText 0.9.0 all
works fine.
I tried your example, but I don't understand how to use the internal
MarkupProjection in this Editor.
Best regards!
Tobi
|
|
|
Re: WikiText preview [message #65893 is a reply to message #65877] |
Tue, 24 February 2009 15:01  |
Eclipse User |
|
|
|
Tobi Schröder wrote:
> I found my mistake. I used the Weekly Updatesites, Mylyn 3.1 and
> WikiText 0.9.4. I don't know if it is a bug or version conflict with the
> rest of my installation. back to Mylyn 3.0.2 and WikiText 0.9.0 all
> works fine.
Tobi, I'm glad that you got it working. Note that the weekly update
sites hold the latest builds with code from CVS -- so if something isn't
working please let me know by filing a bug and I'll look into the issue.
> I tried your example, but I don't understand how to use the internal
> MarkupProjection in this Editor.
There should be no need to use any internal classes. If you think that
you need to use internal classes to achieve what you need then please
file a bug requesting that the classes be made API.
Best regards,
David
|
|
|
Re: WikiText preview [message #596395 is a reply to message #65674] |
Fri, 20 February 2009 11:10  |
Eclipse User |
|
|
|
Originally posted by: tbone13.gmx.de
Hello!
I have some addition to my previous post.
The HTML source of the preview is
<HTML>blank#test</HTML>
so I think there is a problem in the parser.
On the other hand I tried the Task editor with textile-comment and it
works well. the same when I export HTML from the textile file
Greetings
Tobi
|
|
|
Re: WikiText preview [message #596407 is a reply to message #65763] |
Fri, 20 February 2009 22:40  |
Eclipse User |
|
|
|
Tobias Schröder wrote:
> On the other hand I tried the Task editor with textile-comment and it
> works well. the same when I export HTML from the textile file
Tobi,
There's a great little example application that you can see if you
install the WikiText projects into your workspace (see
http://wiki.eclipse.org/index.php/Mylyn/Contributor_Referenc e#Workspace).
The code demonstrates how to integrate WikiText parsing for display with
a Browser widget as well as with the MarkupViewer.
The class is org.eclipse.mylyn.wikitext.textile.core.Main and you can
run it by right-clicking on the file in Eclipse and selecting Run
As->Java Application
If after looking at that code you still have problems please file a bug
at Eclipse.org and attach the problem code.
David
|
|
|
Re: WikiText preview [message #596433 is a reply to message #65785] |
Tue, 24 February 2009 14:21  |
Eclipse User |
|
|
|
Originally posted by: tbone13.gmx.de
David Green schrieb:
> Tobias Schröder wrote:
>> On the other hand I tried the Task editor with textile-comment and it
>> works well. the same when I export HTML from the textile file
>
> Tobi,
>
> There's a great little example application that you can see if you
> install the WikiText projects into your workspace (see
> http://wiki.eclipse.org/index.php/Mylyn/Contributor_Referenc e#Workspace).
> The code demonstrates how to integrate WikiText parsing for display with
> a Browser widget as well as with the MarkupViewer.
>
> The class is org.eclipse.mylyn.wikitext.textile.core.Main and you can
> run it by right-clicking on the file in Eclipse and selecting Run
> As->Java Application
>
> If after looking at that code you still have problems please file a bug
> at Eclipse.org and attach the problem code.
>
> David
>
David,
I found my mistake. I used the Weekly Updatesites, Mylyn 3.1 and
WikiText 0.9.4. I don't know if it is a bug or version conflict with the
rest of my installation. back to Mylyn 3.0.2 and WikiText 0.9.0 all
works fine.
I tried your example, but I don't understand how to use the internal
MarkupProjection in this Editor.
Best regards!
Tobi
|
|
|
Re: WikiText preview [message #596443 is a reply to message #65877] |
Tue, 24 February 2009 15:01  |
Eclipse User |
|
|
|
Tobi Schröder wrote:
> I found my mistake. I used the Weekly Updatesites, Mylyn 3.1 and
> WikiText 0.9.4. I don't know if it is a bug or version conflict with the
> rest of my installation. back to Mylyn 3.0.2 and WikiText 0.9.0 all
> works fine.
Tobi, I'm glad that you got it working. Note that the weekly update
sites hold the latest builds with code from CVS -- so if something isn't
working please let me know by filing a bug and I'll look into the issue.
> I tried your example, but I don't understand how to use the internal
> MarkupProjection in this Editor.
There should be no need to use any internal classes. If you think that
you need to use internal classes to achieve what you need then please
file a bug requesting that the classes be made API.
Best regards,
David
|
|
|
Powered by
FUDForum. Page generated in 0.04031 seconds