mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
lyx2lyx: fixup gloss reversion
This commit is contained in:
parent
c5596da758
commit
52e21bfcc9
@ -2022,7 +2022,7 @@ def revert_linggloss(document):
|
||||
|
||||
beginPlain = find_token(document.body, "\\begin_layout Plain Layout", i)
|
||||
endInset = find_end_of_inset(document.body, i)
|
||||
endPlain = find_token_backwards(document.body, "\\end_layout", endInset)
|
||||
endPlain = find_end_of_layout(document.body, beginPlain)
|
||||
precontent = put_cmd_in_ert(cmd)
|
||||
if len(optargcontent) > 0:
|
||||
precontent += put_cmd_in_ert("[") + optargcontent + put_cmd_in_ert("]")
|
||||
|
Loading…
Reference in New Issue
Block a user