commit 9bcb243ec65fe3af355d0e3ed8b61ab823f8afe5
Author: Richard Kimberly Heck <rikih...@lyx.org>
Date:   Sat May 2 23:14:19 2020 -0400

    Increment layout format.
---
 lib/scripts/layout2layout.py |    7 +++++--
 src/TextClass.cpp            |    2 +-
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/lib/scripts/layout2layout.py b/lib/scripts/layout2layout.py
index 333ef1b..5b7b4ff 100644
--- a/lib/scripts/layout2layout.py
+++ b/lib/scripts/layout2layout.py
@@ -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
diff --git a/src/TextClass.cpp b/src/TextClass.cpp
index 4058815..c8fbfaf 100644
--- a/src/TextClass.cpp
+++ b/src/TextClass.cpp
@@ -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
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to