]> git.lyx.org Git - features.git/commit
FindAdv: Fix interpretation of match-results
authorKornel Benko <kornel@lyx.org>
Wed, 20 Jan 2021 11:24:33 +0000 (12:24 +0100)
committerKornel Benko <kornel@lyx.org>
Wed, 20 Jan 2021 11:41:37 +0000 (12:41 +0100)
commitc041bb667a009459b17e24957c1d5147c2149dab
tree122c649eaa5de986e4fd77b58841d83f429bea56
parentb1afdf1c1952fddff189a99f12629179dfa289c8
FindAdv: Fix interpretation of match-results

Since commit c600906d92d all matches are match-results of examined strings starting
with a character of the same cursor depth, we can be sure to match the same string again if:
1.) the number of characters to the end of the examined strings match.
2.) the match-lengths are identical
src/lyxfind.cpp