[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [mylyn-integrators] Problem with XML-like markup
|
Aaron,
It's difficult to come up with a one-class-fits-most when it comes to markup languages, since they all vary so much. I recommend using what you can from org.eclipse.mylyn.wikitext.core, and when you don't find what you need look for examples to copy from the internals of org.eclipse.mylyn.wikitext.textile.core, which is the reference implementation.
Regards,
David
On Tue, Feb 9, 2010 at 7:25 AM, Aaron Digulla
<digulla@xxxxxxxx> wrote:
Zitat von David Green <dgreen99@xxxxxxxxx>:
Aaron,
Great to hear that you're using WikiText!
It looks to me as though you're trying to reuse some internal classes from
the TracWiki project. The '!' character is an escape character with Trac
wiki markup.
I see.
I suggest that you stick with classes that are API. In other words, avoid
any classes with package names that contain the word 'internal'. You'll
find most of these in org.eclipse.mylyn.wikitext.core.
The "internal" was well hidden in the package name. Which base class do you suggest for me? I couldn't find much that extends PatternBasedElement (which seems to be the only supported base class for elements) in the core and nothing which offers me a simple "starts with"/"ends with" usage.