diff options
author | Neil <nyamatongwe@gmail.com> | 2021-02-11 23:02:26 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2021-02-11 23:02:26 +1100 |
commit | 375509a3cff648acd57c8b975921ebc37b1878ba (patch) | |
tree | cb0595a3711cc29259bfdd54d0b6db1b54163343 /test/XiteWin.py | |
parent | 5cdcdc0f01f8fcee4f0caac755b78a246c815364 (diff) | |
download | scintilla-mirror-375509a3cff648acd57c8b975921ebc37b1878ba.tar.gz |
Make merging of Scintilla and Lexilla features work on older versions of Python.
Diffstat (limited to 'test/XiteWin.py')
-rw-r--r-- | test/XiteWin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/XiteWin.py b/test/XiteWin.py index 662bff370..c71db04bb 100644 --- a/test/XiteWin.py +++ b/test/XiteWin.py @@ -165,7 +165,7 @@ class XiteWin(): try: faceLex = Face.Face() faceLex.ReadFromFile(os.path.join(lexillaIncludeDirectory, "LexicalStyles.iface")) - self.face.features = {**self.face.features, **faceLex.features} + self.face.features.update(faceLex.features) except FileNotFoundError: print("Can't find " + "LexicalStyles.iface") |