From: José Matox Date: Thu, 27 Jul 2006 11:37:26 +0000 (+0000) Subject: parser_tools.py (del_token): rename arguments to be coherent with other functions X-Git-Tag: 1.6.10~12911 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=857eb02a5c2ba0c7c704df1475640b29d98e0990;p=features.git parser_tools.py (del_token): rename arguments to be coherent with other functions git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14499 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/lib/lyx2lyx/parser_tools.py b/lib/lyx2lyx/parser_tools.py index c204cd73a3..379f961bb3 100644 --- a/lib/lyx2lyx/parser_tools.py +++ b/lib/lyx2lyx/parser_tools.py @@ -118,13 +118,13 @@ def get_layout(line, default_layout): return default_layout -def del_token(lines, token, i, j): - k = find_token_exact(lines, token, i, j) +def del_token(lines, token, start, end): + k = find_token_exact(lines, token, start, end) if k == -1: - return j + return end else: del lines[k] - return j-1 + return end - 1 # Finds the paragraph that contains line i.