aboutsummaryrefslogtreecommitdiffhomepage
path: root/qt/ScintillaEdit/WidgetGen.py
diff options
context:
space:
mode:
Diffstat (limited to 'qt/ScintillaEdit/WidgetGen.py')
-rw-r--r--qt/ScintillaEdit/WidgetGen.py3
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):