Increment layout format.

This commit is contained in:
Richard Kimberly Heck 2020-05-02 23:14:19 -04:00
parent 666f90cdbb
commit 9bcb243ec6
2 changed files with 6 additions and 3 deletions

View File

@ -11,7 +11,7 @@
# This script will update a .layout file to current format
# The latest layout format is also defined in src/TextClass.cpp
currentFormat = 80
currentFormat = 81
# Incremented to format 4, 6 April 2007, lasgouttes
@ -268,6 +268,9 @@ currentFormat = 80
# Incremented to format 80, 12 August 2019 by spitz
# New float option Requires
# Incremented to format 80, 12 August 2019 by rikiheck
# New tag GuiName for counters
# Do not forget to document format change in Customization
# Manual (section "Declaring a new text class").
@ -517,7 +520,7 @@ def convert(lines, end_format):
i += 1
continue
if format >= 65 and format <= 79:
if format >= 65 and format <= 80:
# nothing to do.
i += 1
continue

View File

@ -62,7 +62,7 @@ namespace lyx {
// You should also run the development/tools/updatelayouts.py script,
// to update the format of all of our layout files.
//
int const LAYOUT_FORMAT = 80; // spitz: Requires for floats
int const LAYOUT_FORMAT = 81; // rikiheck: GuiName for counters
// Layout format for the current lyx file format. Controls which format is