chore: bump scintilla and lexilla version

This commit is contained in:
2025-10-12 13:51:32 +08:00
parent 9fb3681e3a
commit db20417ce7
1093 changed files with 138943 additions and 128144 deletions

View File

@ -0,0 +1,29 @@
#!/usr/bin/env python3
# LexFacer.py - regenerate the SciLexer.h files from the Scintilla.iface interface
# definition file.
# Implemented 2000 by Neil Hodgson neilh@scintilla.org
# Requires Python 3.6 or later
import os, pathlib, sys
sys.path.append(os.path.join("..", "..", "scintilla", "scripts"))
import Face
import FileGenerator
def printLexHFile(f):
out = []
for name in f.order:
v = f.features[name]
if v["FeatureType"] in ["val"]:
if "SCE_" in name or "SCLEX_" in name:
out.append("#define " + name + " " + v["Value"])
return out
def RegenerateAll(root, _showMaxID):
f = Face.Face()
f.ReadFromFile(root / "include/LexicalStyles.iface")
FileGenerator.Regenerate(root / "include/SciLexer.h", "/* ", printLexHFile(f))
if __name__ == "__main__":
RegenerateAll(pathlib.Path(__file__).resolve().parent.parent, True)