On Sun, Apr 15, 2018 at 05:58:17AM +0200, Jean-Marc Lasgouttes wrote: > commit ef1d50207088bc40cd0fbbd27229df9e8400e932 > Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> > Date: Thu Jul 20 23:31:05 2017 +0200 > > Fix caret painting > > The trick is to remember in BufferView what has been done at the > previous draw, so that the row that contained the caret can be > repainted if needed. > > To this end, add an argument paint_caret to BufferView, although > painting the caret is not the job of the BufferView (at this point). > > BufferView::needRepaint will act as an interface with > TextMetrics::drawParagraph to know whether the painting of a given > row should be forced. > > Currently everything is done at the top row level, so that, if the > caret is in a large table, the whole table will have to be repainted. > It is not clear yet that this is necessary.
If I have an ERT in a preview inset, it previews when I open LyX. But if I zoom in or out, the preview is not refreshed. I did a bisect that lead me here. Note that I did the bisect on 2.3.x. Can anyone reproduce? Scott
signature.asc
Description: PGP signature