diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/GenerateCharacterCategory.py | 7 | ||||
-rw-r--r-- | scripts/HeaderOrder.txt | 6 |
2 files changed, 6 insertions, 7 deletions
diff --git a/scripts/GenerateCharacterCategory.py b/scripts/GenerateCharacterCategory.py index 271381064..806dea2fe 100644 --- a/scripts/GenerateCharacterCategory.py +++ b/scripts/GenerateCharacterCategory.py @@ -1,5 +1,6 @@ #!/usr/bin/env python3 -# Script to generate CharacterCategory.cxx from Python's Unicode data +# Script to generate scintilla/src/CharacterCategoryMap.cxx and lexilla/lexlib/CharacterCategory.cxx +# from Python's Unicode data # Should be run rarely when a Python with a new version of Unicode data is available. # Requires Python 3.3 or later # Should not be run with old versions of Python. @@ -45,8 +46,8 @@ def updateCharacterCategory(filename): scintillaDirectory = pathlib.Path(__file__).resolve().parent.parent -categories = findCategories(scintillaDirectory / "src" / "CharacterCategory.h") +categories = findCategories(scintillaDirectory / "src" / "CharacterCategoryMap.h") -updateCharacterCategory(scintillaDirectory / "src" / "CharacterCategory.cxx") +updateCharacterCategory(scintillaDirectory / "src" / "CharacterCategoryMap.cxx") updateCharacterCategory(scintillaDirectory.parent / "lexilla" / "lexlib" / "CharacterCategory.cxx") diff --git a/scripts/HeaderOrder.txt b/scripts/HeaderOrder.txt index a45d798de..72ee15cb1 100644 --- a/scripts/HeaderOrder.txt +++ b/scripts/HeaderOrder.txt @@ -101,11 +101,9 @@ #include "Scintilla.h" #include "ScintillaWidget.h" -// lexlib -#include "CharacterSet.h" -#include "CharacterCategory.h" - // src +#include "CharacterType.h" +#include "CharacterCategoryMap.h" #include "Position.h" #include "UniqueString.h" #include "SplitVector.h" |