lyx_mirror/src/frontends
Jean-Marc Lasgouttes e7fdce0b5a 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.
2017-09-08 16:57:21 +02:00
..
qt4 Fix caret painting 2017-09-08 16:57:21 +02:00
tests Cmake build: Project names *should* be uniq 2017-03-30 14:01:56 +02:00
.gitignore
alert.h
Application.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
Clipboard.h
CMakeLists.txt Fix trailing whitespace in txt files. 2017-07-03 13:53:41 -04:00
Delegates.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
FontLoader.h Fix whitespace at EOL. 2017-07-03 13:46:30 -04:00
FontMetrics.h Use the same code for editable and non-editable buttons 2017-06-15 15:40:30 +02:00
KeyModifier.h
KeySymbol.h
Makefile.am three-stage drawing: add a nodraw stage 2017-08-29 16:37:07 +02:00
mouse_state.h
NullPainter.h three-stage drawing: add a nodraw stage 2017-08-29 16:37:07 +02:00
Painter.h three-stage drawing: add a nodraw stage 2017-08-29 16:37:07 +02:00
Selection.h
WorkArea.h
WorkAreaManager.cpp Unhide buffers that are marked dirty as a result of external modifications 2017-06-11 19:51:17 +02:00
WorkAreaManager.h Unhide buffers that are marked dirty as a result of external modifications 2017-06-11 19:51:17 +02:00