Revision: 9219
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=9219&view=rev
Author:   dnaber
Date:     2013-01-26 11:55:52 +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/editor_plugin.js

Modified: 
trunk/website/www/online-check/tiny_mce/plugins/atd-tinymce/editor_plugin.js
===================================================================
--- 
trunk/website/www/online-check/tiny_mce/plugins/atd-tinymce/editor_plugin.js    
    2013-01-26 11:24:09 UTC (rev 9218)
+++ 
trunk/website/www/online-check/tiny_mce/plugins/atd-tinymce/editor_plugin.js    
    2013-01-26 11:55:52 UTC (rev 9219)
@@ -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