]> git.lyx.org Git - features.git/commit
FindAdv: Added handling for latex environments
authorKornel Benko <kornel@lyx.org>
Wed, 20 Feb 2019 13:14:50 +0000 (14:14 +0100)
committerKornel Benko <kornel@lyx.org>
Wed, 20 Feb 2019 13:14:50 +0000 (14:14 +0100)
commita298fc55d9f2b2cdbd6f4f025e1e0dc259a48846
treef2476ba290d37f35c47d5b045cdb1b323b8bf489
parent0a2dda090417787903dd3c58f998a53cfafd3d0f
FindAdv: Added handling for latex environments

1.) Make sure the environment is mentioned in the string for search
  (Added the keyword \latexenvironment{...})
2.) Handle it similar to \textcolor{}

That way we can also search for 'conclusion*' or 'summary' etc
in Additional.lyx.
src/lyxfind.cpp
src/output_latex.cpp