]> 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)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 12:39:58 +0000 (14:39 +0200)
commit829545e416205b55ae68e6818c9e65342086c287
treee6c68a1ba640371816beb2000986c6e58bff1802
parentdeb113f8512d2287a216e612f1fab886e889430d
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