]> git.lyx.org Git - features.git/commit
Findadv: Handle \lettrine{} in initials.module
authorKornel Benko <kornel@lyx.org>
Tue, 5 Feb 2019 07:04:47 +0000 (08:04 +0100)
committerKornel Benko <kornel@lyx.org>
Tue, 5 Feb 2019 07:04:47 +0000 (08:04 +0100)
commit50550a215f72da6f5d3f80efad87449a72cdbf0c
treeeb9f55f0670f30b9263dcf37c300a850a57bb342
parent051b6ce68af2b7b075e1abb89e1e960beae71379
Findadv: Handle \lettrine{} in initials.module

The problem here is, that selecting any subset of a \lettrine{}
line always creates an initials header. That makes it impossible
to our search engine to find strings, because the regex does not
contain that info. So we have to discard the leading \lettrine part
completely.
We place now a marker (\endarguments) to determine that removable
part.
src/lyxfind.cpp
src/output_latex.cpp