Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mylyn » Re: Mylyn WikiText integration in editor?
Re: Mylyn WikiText integration in editor? [message #547808] Mon, 19 July 2010 16:15 Go to next message
David Green is currently offline David GreenFriend
Messages: 136
Registered: July 2009
Senior Member
Henrik,

We should move this conversation to eclipse.tools.mylyn since it's a
Mylyn WikiText question.

Mylyn WikiText provides API for creating editors that are
wikitext-aware. With that you get syntax highlighting, content assist,
etc. A good starting point is
org.eclipse.mylyn.wikitext.ui.editor.WikiTextSourceEditor.

If you're looking to do a lower-level integration you can take a look at
non-API. For syntax highlighting you can look at this package:
org.eclipse.mylyn.internal.wikitext.ui.editor.syntax

If you're looking at generating HTML documentation from your source, you
may find this helpful:
http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse. mylyn.wikitext.help.ui/help/devguide/Using-The-WikiText-Pars er.html

Let me know if you have any further questions/comments, but let's keep
it on eclipse.tools.mylyn to avoid spamming the Xtext newsgroup.

Regards,

David

On 7/17/2010 8:10 AM, Henrik Lindberg wrote:
> On 7/16/10 8:42 PM, David Green wrote:
>> I'll be happy to help if you have questions about how to integrate
>> WikiText.
>
> Super.
> So, I have the equivalence of "javadoc" in the b3 DSL. Which is a
> special datatype resulting in a string where /**, * */ and whitespace up
> to '*' etc. is processed.
>
> Right now I have one style applied to the entire area. I would like to
> format h1. h2. bold, italic, etc. To do this I expect to be feeding the
> string to WikiText getting something like a parse tree, or styles and
> positions back. Armed with that I could then provide the corresponding
> information to the Xtext style processing.
>
> Does that sound like a workable solution, where in wikitext should I start?
>
> Regards
> - henrik
>
Re: Mylyn WikiText integration in editor? [message #547836 is a reply to message #547808] Mon, 19 July 2010 17:59 Go to previous message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
ok, continuing the thread here (without x-post in tmf)

Great that there is help in getting syntax coloring, code completion
etc. implmented for wikitext in an editor. The question is how to
integrate this with the editor generated by Xtext in a good way - I
naturally want to reuse as much as possible.

Will look at the provided info and code. (Will take a while before I get
around to doing anything with this though).

Regards
- henrik

On 7/19/10 6:15 PM, David Green wrote:
> Henrik,
>
> We should move this conversation to eclipse.tools.mylyn since it's a
> Mylyn WikiText question.
>
> Mylyn WikiText provides API for creating editors that are
> wikitext-aware. With that you get syntax highlighting, content assist,
> etc. A good starting point is
> org.eclipse.mylyn.wikitext.ui.editor.WikiTextSourceEditor.
>
> If you're looking to do a lower-level integration you can take a look at
> non-API. For syntax highlighting you can look at this package:
> org.eclipse.mylyn.internal.wikitext.ui.editor.syntax
>
> If you're looking at generating HTML documentation from your source, you
> may find this helpful:
> http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse. mylyn.wikitext.help.ui/help/devguide/Using-The-WikiText-Pars er.html
>
>
> Let me know if you have any further questions/comments, but let's keep
> it on eclipse.tools.mylyn to avoid spamming the Xtext newsgroup.
>
> Regards,
>
> David
>
> On 7/17/2010 8:10 AM, Henrik Lindberg wrote:
>> On 7/16/10 8:42 PM, David Green wrote:
>>> I'll be happy to help if you have questions about how to integrate
>>> WikiText.
>>
>> Super.
>> So, I have the equivalence of "javadoc" in the b3 DSL. Which is a
>> special datatype resulting in a string where /**, * */ and whitespace up
>> to '*' etc. is processed.
>>
>> Right now I have one style applied to the entire area. I would like to
>> format h1. h2. bold, italic, etc. To do this I expect to be feeding the
>> string to WikiText getting something like a parse tree, or styles and
>> positions back. Armed with that I could then provide the corresponding
>> information to the Xtext style processing.
>>
>> Does that sound like a workable solution, where in wikitext should I
>> start?
>>
>> Regards
>> - henrik
>>
>
Re: Mylyn WikiText integration in editor? [message #601699 is a reply to message #547808] Mon, 19 July 2010 17:59 Go to previous message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
ok, continuing the thread here (without x-post in tmf)

Great that there is help in getting syntax coloring, code completion
etc. implmented for wikitext in an editor. The question is how to
integrate this with the editor generated by Xtext in a good way - I
naturally want to reuse as much as possible.

Will look at the provided info and code. (Will take a while before I get
around to doing anything with this though).

Regards
- henrik

On 7/19/10 6:15 PM, David Green wrote:
> Henrik,
>
> We should move this conversation to eclipse.tools.mylyn since it's a
> Mylyn WikiText question.
>
> Mylyn WikiText provides API for creating editors that are
> wikitext-aware. With that you get syntax highlighting, content assist,
> etc. A good starting point is
> org.eclipse.mylyn.wikitext.ui.editor.WikiTextSourceEditor.
>
> If you're looking to do a lower-level integration you can take a look at
> non-API. For syntax highlighting you can look at this package:
> org.eclipse.mylyn.internal.wikitext.ui.editor.syntax
>
> If you're looking at generating HTML documentation from your source, you
> may find this helpful:
> http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse. mylyn.wikitext.help.ui/help/devguide/Using-The-WikiText-Pars er.html
>
>
> Let me know if you have any further questions/comments, but let's keep
> it on eclipse.tools.mylyn to avoid spamming the Xtext newsgroup.
>
> Regards,
>
> David
>
> On 7/17/2010 8:10 AM, Henrik Lindberg wrote:
>> On 7/16/10 8:42 PM, David Green wrote:
>>> I'll be happy to help if you have questions about how to integrate
>>> WikiText.
>>
>> Super.
>> So, I have the equivalence of "javadoc" in the b3 DSL. Which is a
>> special datatype resulting in a string where /**, * */ and whitespace up
>> to '*' etc. is processed.
>>
>> Right now I have one style applied to the entire area. I would like to
>> format h1. h2. bold, italic, etc. To do this I expect to be feeding the
>> string to WikiText getting something like a parse tree, or styles and
>> positions back. Armed with that I could then provide the corresponding
>> information to the Xtext style processing.
>>
>> Does that sound like a workable solution, where in wikitext should I
>> start?
>>
>> Regards
>> - henrik
>>
>
Previous Topic:can't get mylyn to detect "bug X" strings in history view
Next Topic:Jira additional required Field
Goto Forum:
  


Current Time: Thu Mar 28 23:51:10 GMT 2024

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

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

Back to the top