Revision: 9217
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=9217&view=rev
Author:   dnaber
Date:     2013-01-26 11:22:01 +0000 (Sat, 26 Jan 2013)
Log Message:
-----------
online check: adjecent errors were filtered, whereas only overlapping errors 
should be filtered (as in: L'haricot ?)

Modified Paths:
--------------
    trunk/website/www/online-check/tiny_mce/plugins/atd-tinymce/src/atd.core.js

Modified: 
trunk/website/www/online-check/tiny_mce/plugins/atd-tinymce/src/atd.core.js
===================================================================
--- trunk/website/www/online-check/tiny_mce/plugins/atd-tinymce/src/atd.core.js 
2013-01-26 11:14:54 UTC (rev 9216)
+++ trunk/website/www/online-check/tiny_mce/plugins/atd-tinymce/src/atd.core.js 
2013-01-26 11:22:01 UTC (rev 9217)
@@ -135,7 +135,7 @@
         if (!suggestion.used) {
             var spanStart = suggestion.offset;
             var spanEnd = spanStart + suggestion.errorlength;
-            if (previousSpanStart != -1 && spanEnd >= previousSpanStart) {
+            if (previousSpanStart != -1 && spanEnd > previousSpanStart) {
                 // overlapping errors - these are not supported by our 
underline approach,
                 // as we would need overlapping <span>s for that, so skip the 
error:
                 continue;

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
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/learnnow-d2d
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits

Reply via email to