diff options
author | Neil <nyamatongwe@gmail.com> | 2019-06-18 10:22:46 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2019-06-18 10:22:46 +1000 |
commit | 89c02db8332dc8c0d584a36959be82381df1cbd7 (patch) | |
tree | b01f809d9e2984aff8e207c247273ce0cffac202 | |
parent | 17c1c513b15f5653cf0728d4c02e53f0fbf2f2e6 (diff) | |
download | scintilla-mirror-89c02db8332dc8c0d584a36959be82381df1cbd7.tar.gz |
Backport: Feature [feature-requests:#1297] 2: Add line type to WidgetGen.py
Backport of changeset 7579:c354c49503c5.
-rw-r--r-- | qt/ScintillaEdit/WidgetGen.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qt/ScintillaEdit/WidgetGen.py b/qt/ScintillaEdit/WidgetGen.py index 2c8ef2033..eefc717df 100644 --- a/qt/ScintillaEdit/WidgetGen.py +++ b/qt/ScintillaEdit/WidgetGen.py @@ -39,6 +39,7 @@ def normalisedName(s, options, role=None): typeAliases = { "position": "int", + "line": "int", "colour": "int", "keymod": "int", "string": "const char *", @@ -52,7 +53,7 @@ def cppAlias(s): else: return s -understoodTypes = ["", "void", "int", "bool", "position", +understoodTypes = ["", "void", "int", "bool", "position", "line", "colour", "keymod", "string", "stringresult", "cells"] def checkTypes(name, v): |