From 89c02db8332dc8c0d584a36959be82381df1cbd7 Mon Sep 17 00:00:00 2001 From: Neil Date: Tue, 18 Jun 2019 10:22:46 +1000 Subject: Backport: Feature [feature-requests:#1297] 2: Add line type to WidgetGen.py Backport of changeset 7579:c354c49503c5. --- qt/ScintillaEdit/WidgetGen.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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): -- cgit v1.2.3