]> 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)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 12:39:57 +0000 (14:39 +0200)
commitf6c8925ca9e0453c6010161b2d931dad4fe1f544
tree6494205a23ca58b203bd5cf568f70eeac4a47c62
parent3a908ec9047650dfca185b0223e74f56deee69ce
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