mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 21:40:19 +00:00
prefs2prefs for #6966, per Pavel's suggestion.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38377 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
099ab80a08
commit
bcdb0dfcce
@ -134,6 +134,17 @@ 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)
|
||||
if not m:
|
||||
return no_match
|
||||
|
||||
btype = m.group(1)
|
||||
mod = m.group(2)
|
||||
rest = m.group(3)
|
||||
newline = btype + " \"" + mod + "bar\"" + rest
|
||||
return (True, newline)
|
||||
|
||||
#
|
||||
#
|
||||
@ -152,7 +163,8 @@ conversions = [
|
||||
line_insert,
|
||||
toc_insert,
|
||||
paragraph_spacing,
|
||||
tabular_feature
|
||||
tabular_feature,
|
||||
Bar2bar
|
||||
] # end conversions for format 0
|
||||
]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user