mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 08:28:25 +00:00
FindAdv: Discard the optional arguments of \part, \chapter, ...
Not easy selectable anyway, and hard to use while searching.
This commit is contained in:
parent
be19fdee3a
commit
dff9438a36
@ -2085,6 +2085,10 @@ void LatexInfo::buildEntries(bool isPatternString)
|
||||
key += interval_.par.substr(params, optend-params);
|
||||
evaluatingOptional = true;
|
||||
optionalEnd = optend;
|
||||
if (found.keytype == KeyInfo::isSectioning) {
|
||||
// Remove optional values (but still keep in header)
|
||||
interval_.addIntervall(params, optend);
|
||||
}
|
||||
}
|
||||
string token = sub.str(7);
|
||||
int closings;
|
||||
|
Loading…
Reference in New Issue
Block a user