From dce053a200d7b3c69ed05bbf79c4aa52898cd5ca Mon Sep 17 00:00:00 2001 From: Neil Date: Tue, 18 Jun 2019 10:22:46 +1000 Subject: Feature [feature-requests:#1297] 2: Add line type to WidgetGen.py --- 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