mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 08:28:25 +00:00
Fix bug #11612.
Register verbatim includes with the outliner.
(cherry picked from commit 6960bab65c
)
This commit is contained in:
parent
5679dc5c6f
commit
c839747055
@ -1258,8 +1258,12 @@ void InsetInclude::addToToc(DocIterator const & cpit, bool output_active,
|
||||
b.pushItem(cpit, screenLabel(), output_active);
|
||||
InsetListingsParams p(to_utf8(params()["lstparams"]));
|
||||
b.argumentItem(from_utf8(p.getParamValue("caption")));
|
||||
b.pop();
|
||||
} else {
|
||||
b.pop();
|
||||
} else if (isVerbatim(params())) {
|
||||
TocBuilder & b = backend.builder("child");
|
||||
b.pushItem(cpit, screenLabel(), output_active);
|
||||
b.pop();
|
||||
} else {
|
||||
Buffer const * const childbuffer = getChildBuffer();
|
||||
|
||||
TocBuilder & b = backend.builder("child");
|
||||
|
@ -100,6 +100,8 @@ What's new
|
||||
|
||||
- Fix right and left layout alignment (in workarea) with RTL (bug 11606).
|
||||
|
||||
- Show filenames for verbatim includes in outliner (bug 11612).
|
||||
|
||||
|
||||
* INTERNALS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user