2013/1/16 Daniel Naber <[email protected]>

> On 16.01.2013, 10:00:27 Jaume Ortolà i Font wrote:
>
> > Is there any way of adding suggestions to a pattern rule out of the
> > <message> element?
>
> No, and I agree that this sometimes would be useful. Feel free to add it
> (after we have agreed on a syntax).
>

It could be an optional element after <message> like this:

<message>Incorrect expression. Choose one of the following
suggestions.</message>
<suggestions><suggestion><match no="1"
/></suggestion><suggestion>ABC</suggestion></suggestions>

Everything would be the same as in <message> but without a message text,
only suggestions.

Regards,
Jaume
------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
_______________________________________________
Languagetool-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-devel

Reply via email to