commit 95a7440b0eae096a591a1a61fa31a0143898a97d
Author: José Matos <[email protected]>
Date: Tue Jun 18 10:52:05 2024 +0100
Sort and format comments
The last code change shuffled the comments out of place
---
lib/lyx2lyx/lyx_2_5.py | 29 ++++++++++++-----------------
1 file changed, 12 insertions(+), 17 deletions(-)
diff --git a/lib/lyx2lyx/lyx_2_5.py b/lib/lyx2lyx/lyx_2_5.py
index 6a96326e24..144098eabb 100644
--- a/lib/lyx2lyx/lyx_2_5.py
+++ b/lib/lyx2lyx/lyx_2_5.py
@@ -19,27 +19,22 @@
import re
-# count_pars_in_inset, del_complete_lines, del_token, find_end_of,
-# find_end_of_layout,
-# find_token_backwards, find_token_exact, get_bool_value,
-# get_containing_inset, get_containing_layout, get_option_value,
-# get_quoted_value, is_in_inset,
-# del_value,
-# find_complete_lines,
-# find_re, find_substring,
-# set_bool_value
-# find_tokens, check_token
+# Uncomment only what you need to import, please (lyx2lyx_tools):
+# convert_info_insets, get_ert, hex2ratio, insert_to_preamble,
+# length_in_bp, lyx2latex, lyx2verbatim, put_cmd_in_ert,
+# revert_flex_inset, revert_flex_inset, revert_font_attrs,
+# revert_language, str2bool
from lyx2lyx_tools import add_to_preamble, latex_length
-# Uncomment only what you need to import, please.
+# Uncomment only what you need to import, please (parser_tools):
+# check_token, count_pars_in_inset, del_complete_lines, del_token,
+# del_value, find_complete_lines, find_end_of, find_end_of_layout,
+# find_re, find_substring, find_token_backwards, find_token_exact,
+# find_tokens, get_bool_value, get_containing_inset,
+# get_containing_layout, get_option_value, get_quoted_value,
+# is_in_inset, set_bool_value
from parser_tools import find_end_of_inset, find_re, find_token, get_value
-# put_cmd_in_ert, insert_to_preamble, lyx2latex,
-# revert_language, revert_flex_inset, str2bool,
-# revert_font_attrs,
-# get_ert, lyx2verbatim, length_in_bp, convert_info_insets
-# revert_flex_inset, hex2ratio
-
####################################################################
# Private helper functions
--
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs