From: Richard Heck Date: Fri, 27 Nov 2015 03:08:43 +0000 (-0500) Subject: Whitespace. X-Git-Tag: 2.2.0alpha2~10 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=23add332d9f6263a588bb417d1b91311e29fad3f;p=features.git Whitespace. --- diff --git a/lib/scripts/prefs2prefs_lfuns.py b/lib/scripts/prefs2prefs_lfuns.py index e06af7ce20..78d85141f1 100644 --- a/lib/scripts/prefs2prefs_lfuns.py +++ b/lib/scripts/prefs2prefs_lfuns.py @@ -133,6 +133,7 @@ def paragraph_spacing(line): def tabular_feature(line): return simple_renaming(line, "tabular-feature", "inset-modify tabular") + re_Bar2bar = re.compile(r'^(\\(?:bind|unbind))\s+"([^"]*)Bar"(\s+"[^"]+")') def Bar2bar(line): m = re_Bar2bar.search(line) @@ -145,15 +146,19 @@ def Bar2bar(line): newline = btype + " \"" + mod + "bar\"" + rest return (True, newline) + def paragraph_break(line): return simple_renaming(line, "break-paragraph", "paragraph-break") + def tab_group_close(line): return simple_renaming(line, "close-tab-group", "tab-group-close") + def view_split(line): return simple_renaming(line, "split-view", "view-split") + def label_copy_as_reference(line): return simple_renaming(line, "copy-label-as-reference", "label-copy-as-reference")