mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Collapsable -> Collapsible (part 5)
Preferences update and prefs2prefs routine. This was forgotten in the process.
This commit is contained in:
parent
43a6fe8375
commit
fadb93ae68
@ -1790,7 +1790,7 @@ if __name__ == '__main__':
|
||||
lyx_check_config = True
|
||||
lyx_kpsewhich = True
|
||||
outfile = 'lyxrc.defaults'
|
||||
lyxrc_fileformat = 23
|
||||
lyxrc_fileformat = 24
|
||||
rc_entries = ''
|
||||
lyx_keep_temps = False
|
||||
version_suffix = ''
|
||||
|
@ -99,6 +99,9 @@
|
||||
# Japanese documents via pLaTeX.
|
||||
# No conversion necessary.
|
||||
|
||||
# Incremented to format 24, by spitz
|
||||
# Rename collapsable to collapsible
|
||||
|
||||
# NOTE: The format should also be updated in LYXRC.cpp and
|
||||
# in configure.py.
|
||||
|
||||
@ -372,7 +375,8 @@ def remove_print_support(line):
|
||||
#################################
|
||||
# Conversions from LyX 2.2 to 2.3
|
||||
|
||||
# Only format changes that don't require conversion
|
||||
def rename_collapsible(line):
|
||||
return simple_renaming(line, "\\set_color \"collapsable", "\\set_color \"collapsible")
|
||||
|
||||
# End conversions for LyX 2.2 to 2.3
|
||||
####################################
|
||||
@ -410,5 +414,6 @@ conversions = [
|
||||
[ 20, []],
|
||||
[ 21, []],
|
||||
[ 22, []],
|
||||
[ 23, []]
|
||||
[ 23, []],
|
||||
[ 24, [rename_collapsible]]
|
||||
]
|
||||
|
@ -59,7 +59,7 @@ namespace {
|
||||
|
||||
// The format should also be updated in configure.py, and conversion code
|
||||
// should be added to prefs2prefs_prefs.py.
|
||||
static unsigned int const LYXRC_FILEFORMAT = 23; // spitz: default_platex_view_format
|
||||
static unsigned int const LYXRC_FILEFORMAT = 24; // spitz: rename collapsible
|
||||
|
||||
// when adding something to this array keep it sorted!
|
||||
LexerKeyword lyxrcTags[] = {
|
||||
|
Loading…
Reference in New Issue
Block a user