mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Stupid.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27060 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
d6a0a94883
commit
cf06f04955
@ -1563,7 +1563,7 @@ def convert_macro_global(document):
|
||||
i = 0
|
||||
while True:
|
||||
i = find_token(document.body, "\\begin_inset FormulaMacro", i)
|
||||
if i != -1:
|
||||
if i == -1:
|
||||
return
|
||||
# if i <= 13, then there isn't enough room for the ERT
|
||||
if i <= 12:
|
||||
@ -1574,6 +1574,7 @@ def convert_macro_global(document):
|
||||
i = i - 12
|
||||
else:
|
||||
i += 1
|
||||
print i
|
||||
|
||||
|
||||
def revert_macro_optional_params(document):
|
||||
|
Loading…
Reference in New Issue
Block a user