]> git.lyx.org Git - lyx.git/commit
Make sure that rows are repainted when they get (un)selected
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 29 Nov 2017 10:16:09 +0000 (11:16 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 29 Nov 2017 10:38:33 +0000 (11:38 +0100)
commitae60749f89fb4ee0fca05ac75979d434f6b0401d
tree9f769155c28310b8d4e810699cac7d45f810b25c
parent1844d22221486ebe056c18a05bfd77c9d8d0e750
Make sure that rows are repainted when they get (un)selected

The bug is the following: when selecting several paragraphs quickly
enough, some rows do not get selected.This is a consequence of the
removal of row crc, which lead to not taking into account the
selection status of the row in the decision to repaint.

The solution chosen here is to add a Row::change() helper function to
modify row members. This will set the Row changed status whenever the
value of the member changes.
src/Row.cpp
src/Row.h
src/TextMetrics.cpp