From: Kornel Benko Date: Mon, 26 Nov 2018 11:37:18 +0000 (+0100) Subject: FindAdv: Avoid crash finding char at end of inset X-Git-Tag: lyx-2.4.0dev-acb2ca7b~2897 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=8549fbb3262443c832e3a8ec4f6fd00734d6f4f5;hp=8549fbb3262443c832e3a8ec4f6fd00734d6f4f5;p=lyx.git FindAdv: Avoid crash finding char at end of inset 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 ---