]> git.lyx.org Git - features.git/commit
Fix assertion when checking if change in selection
authorScott Kostyshak <skostysh@lyx.org>
Fri, 28 Dec 2018 15:40:38 +0000 (10:40 -0500)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 12:39:54 +0000 (14:39 +0200)
commit775cb33c430902dd1d9bae01b9ca66e0ce526198
tree88ea81f9d69fcb04fd49581882e5e24a378e5b1b
parentd186ec270b26d567319efd8d8e6344d3c91888ad
Fix assertion when checking if change in selection

The check for the iterator being in the same paragraph as the end of
selection was incorrect, because paragraphs in different cells could
have the same pit. We now additionally condition on having the same
idx.

This commit amends d1279875 (and thus 23de5e5e).

For discussion, see:

  https://www.mail-archive.com/search?l=mid&q=a5afd0c01a0eb9a84fd4d050d15eb23016d6f38a.camel%40lyx.org

Thanks to Jürgen.
src/Text3.cpp