mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-24 13:48:59 +00:00
Avoid missing updates after some operations on selection
The logic at the end of Text::dispatch failed when needsUpdate and singleParUpdate were true at the same time.
This commit is contained in:
parent
5ca48a7a39
commit
4d46f766ea
@ -6386,7 +6386,7 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
|
||||
|
||||
// FIXME: the following code should go in favor of fine grained
|
||||
// update flag treatment.
|
||||
if (singleParUpdate) {
|
||||
if (singleParUpdate && !needsUpdate) {
|
||||
// Inserting characters does not change par height in general. So, try
|
||||
// to update _only_ this paragraph. BufferView will detect if a full
|
||||
// metrics update is needed anyway.
|
||||
|
@ -126,6 +126,7 @@ What's new
|
||||
- Fix crash when deleting tabs in a selection (with S-BackTab) in a
|
||||
text-only inset (ERT, Listings...).
|
||||
|
||||
- Fix display glitches when applying some operations to a selection.
|
||||
|
||||
* INTERNALS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user