]> git.lyx.org Git - features.git/commit
Some tweaks to selection painting
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 26 Oct 2016 12:23:59 +0000 (14:23 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 26 Oct 2016 12:27:57 +0000 (14:27 +0200)
commit695b0cc33b04fa10c8134738e4726de5336267f4
treefb8b01958f0b306fa722b0b0acb46be961295479
parent4159cf97c156ea2f604e3332fc2bf4d1c4926a25
Some tweaks to selection painting

1/ simplify logic that triggers margin selection painting

2/ fix logic for end of paragraph markers. They are now selected when
   there is an end row margin selection.

3/ avoid rounding problems due to int/double conversions.
src/RowPainter.cpp