lyx_mirror/development
Jean-Marc Lasgouttes c19c54dd5b Allow multiple calls to processUpdateFlags before redraw
The goal of this commit is to ensure that a processUpdateFlags call
that requires no redraw will not override a previous one that did
require a redraw.

To this end, the semantics of the flag argument is now different: its
value is now OR'ed with a private update_flags_ variable. This
variable is only reset after the buffer view has actually been
redrawn.

A new Update::ForceRedraw flag has been added. It requires a full
redraw but no metrics computation. It is not used in the main code
(yet), but avoids to compute metrics repeatedly in consecutive
processUpdateFlags calls.

Finally the dubious call to updateMacros in updateMetrics has been
removed for performance reasons.
2017-10-16 11:05:52 +02:00
..
2017-10-15 16:50:20 +02:00
2015-10-01 22:06:01 +01:00
2011-04-03 13:38:05 +00:00
2010-02-18 09:58:20 +00:00
2017-10-16 10:03:05 +02:00
2012-06-05 12:22:13 +02:00
2014-12-08 13:15:06 +01:00