Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mylyn-integrators] StoryMarkup

Zitat von David Green <dgreen99@xxxxxxxxx>:

- Novel editors must be smart about "good text". They must highlight
things like repetitive words, paragraphs always starting with the same
word, comma positions (">>," instead of ",>>")
WikiText provides a validation framework that may be of some help here.
 Some good examples of validation can be found in the Textile markup
language.  Take a look at the
org.eclipse.mylyn.wikitext.core.markupValidationRule extension point.

I have a question about offset and length. Is that the place where the user made the last change? Can I ignore those values? If so, how can I replace the existing warnings outside of this range?

Does "markup" contain the whole source text or is it the current block?

I'm asking because the repetition finder must see some context. Also, it always returns more than a single problem. Who calls findProblem()? Can I assume that this isn't called when I override findProblems()?

Best Regards,

--
Aaron "Optimizer" Digulla a.k.a. Philmann Dark
"It's not the universe that's limited, it's our imagination.
Follow me and I'll show you something beyond the limits."
http://www.pdark.de/                   http://blog.pdark.de/


Back to the top