Daniel Naber wrote: > Hi, > > here's the very first version of a Javascript-based checker that underlines > errors: > > http://www.languagetool.org/online-check/tiny_mce/plugins/atd-tinymce/demo.html > > Please give it a try and let me know about problems. For bug reports, please > specify > the exact text that you have used. One known bug is that an error is not > found if the > cursor is directly on the incorrect word.
I found a bug in the new Javascript-based checker. In French (http://www.languagetool.org/fr/) type: L'haricot ? I would expect 2 errors here : 1/ L'haricot should give be underlined in red (HUNSPELL_NO_SUGGEST rule) because there can't be any ellision before "haricot" and the French Hunspell dictionary should correctly handle that. 2/ space + question mark should be underlined in blue (FRENCH_WHITESPACE rule) because a non breaking white space should be used before question mark. The old online checker http://community.languagetool.org/?lang=fr correctly gave the 2 errors. Yet the new javascript checker only shows 1 error (FRENCH_WHITESPACE). I suspect that this happens because we remove overlapping errors. Here the 2 errors exactly touch each other, but they do not overlap. So we should be able to show both of them. Regards Dominique ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_123012 _______________________________________________ Languagetool-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/languagetool-devel
