]> git.lyx.org Git - lyx.git/commit
Remove useless SinglePar update when scrolling in text
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 3 Jul 2024 15:31:38 +0000 (17:31 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Wed, 10 Jul 2024 15:18:48 +0000 (17:18 +0200)
commitf4364c7593a66c63a7a2b588ff60c3350353d89c
treec56cb7689f731459a53475f3678f8ea7334f5dbe
parent288684356016f5cca7959462735f6153cd1adab2
Remove useless SinglePar update when scrolling in text

Using SinglePar does not majke sense here since the paragraph is not
modified and it might even not have a position yet.

This fixes a crash in BufferView::singleParUpdate, which is not
prepared (yet) to such situations.

(cherry picked from commit 2bdd691130e5507fc5cc2ca81e71eef189e90fc5)
src/Text.cpp