diff options
author | Neil <nyamatongwe@gmail.com> | 2019-06-18 10:29:43 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2019-06-18 10:29:43 +1000 |
commit | 55bf8974ac54b60ebaebcfa1cd04cb57cd2047ed (patch) | |
tree | be1bf578d42b17b089e80550c0fd1f8dd15133cd | |
parent | 89c02db8332dc8c0d584a36959be82381df1cbd7 (diff) | |
download | scintilla-mirror-55bf8974ac54b60ebaebcfa1cd04cb57cd2047ed.tar.gz |
Backport: Feature [feature-requests:#1297] 2: Add line type to ScintillaCallable.py.
Backport of changeset 7580:253181742438.
-rw-r--r-- | test/ScintillaCallable.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ScintillaCallable.py b/test/ScintillaCallable.py index 44faac649..c812738a5 100644 --- a/test/ScintillaCallable.py +++ b/test/ScintillaCallable.py @@ -83,7 +83,7 @@ class ScintillaCallable: not name.startswith("Get") and \ not feature["Param1Type"] and \ not feature["Param2Type"] and \ - feature["ReturnType"] in ["bool", "int", "position"]: + feature["ReturnType"] in ["bool", "int", "position", "line"]: #~ print("property", feature) return self._scifn(self._sciptr, value, None, None) elif name.startswith("SCN_") and name in self.k: @@ -101,7 +101,7 @@ class ScintillaCallable: value = int(feature["Value"], 0) #~ print("setproperty", feature) if feature["FeatureType"] == "set" and not name.startswith("Set"): - if feature["Param1Type"] in ["bool", "int", "position"]: + if feature["Param1Type"] in ["bool", "int", "position", "line"]: return self._scifn(self._sciptr, value, c_char_p(val), None) elif feature["Param2Type"] in ["string"]: return self._scifn(self._sciptr, value, None, c_char_p(val)) |