]> git.lyx.org Git - lyx.git/commitdiff
FindAdv: Avoid crash finding char at end of inset
authorKornel Benko <kornel@lyx.org>
Mon, 26 Nov 2018 11:37:18 +0000 (12:37 +0100)
committerKornel Benko <kornel@lyx.org>
Mon, 26 Nov 2018 11:37:18 +0000 (12:37 +0100)
Testcase without this patch:
1.) open de/Additional.lyx
2.) goto 6.1 Astronomy & Astrophysics
3.) open the index
4.) find advaced
a.) not ignoring format
b.) regex = .+
c.) language of regex: English
4.) search next
The seach finds the next break (which is outside of the index)
The following try to display the selection leads to crash


No differences found