mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-21 23:09:40 +00:00
6cc1d31e38
This 0 default for end is wrong. You should be able to do: find_token(lines, token, 0, 0) and have that return -1. As it is, this is equivalent to: find_token(lines, token, 0, len(lines)) But I am afraid to change the default, in case something in lyx_1.2.py relies upon it somehow. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36125 a592a061-630c-0410-9148-cb99ea01b6c8