]> git.lyx.org Git - features.git/commit
FindAdv: Amend ec387b6d: Handle search for '{' and '}'
authorKornel Benko <kornel@lyx.org>
Mon, 18 Jan 2021 11:17:57 +0000 (12:17 +0100)
committerKornel Benko <kornel@lyx.org>
Mon, 18 Jan 2021 11:17:57 +0000 (12:17 +0100)
commitdacd2c45b7fdcddc9d45d72d22ac779c501b7ef2
tree6334e9221ab5c05795f10e9d28495c591d249edb
parent2225f0ed61785892a9cee78f9d97fa4e4de801f3
FindAdv: Amend ec387b6d: Handle search for '{' and '}'

1) Take care of different input if changed the search-mode (with/without format)
This amends ec387b6d
2) Make the braces used in text to be treated as single characters
e.g. transform '\braceleft' to some unicode value
3) Try to use '$' as 'end of sequence' in regex
We have to remove '}' and '\n' chars from the examined string
src/lyxfind.cpp