Author: lasgouttes
Date: Tue Nov 30 15:36:51 2010
New Revision: 36629
URL: http://www.lyx.org/trac/changeset/36629

Log:
experiment in spell checker mark appearance (see bug #7112)

Modified:
   lyx-devel/trunk/src/rowpainter.cpp

Modified: lyx-devel/trunk/src/rowpainter.cpp
==============================================================================
--- lyx-devel/trunk/src/rowpainter.cpp  Tue Nov 30 14:42:24 2010        (r36628)
+++ lyx-devel/trunk/src/rowpainter.cpp  Tue Nov 30 15:36:51 2010        (r36629)
@@ -360,9 +360,9 @@
        // if changed the misspelled marker gets placed slightly lower than 
normal
        // to avoid drawing at the same vertical offset
        int const offset = int(1.5 * lyxrc.zoom / 100.0); // [percent]
-       int const y = yo_ + desc + (changed ? offset : 0);
+       int const y = yo_ + desc + (changed ? offset : 0) + 1;
        pi_.pain.line(int(orig_x), y, int(x_), y, Color_misspelled,
-               Painter::line_onoffdash, 1.0);
+               Painter::line_onoffdash, 2.0);
 }
 
 

Reply via email to