Add customisable in-command shortcut keys rather than hardcoding them

This commit is contained in:
Dion Moult
2019-05-28 21:15:50 +10:00
committed by Yorik van Havre
parent 31b5614fbd
commit 514fa9d4fc
3 changed files with 1032 additions and 51 deletions

View File

@@ -99,7 +99,8 @@ def getParamType(param):
"dimstyle","gridSize"]:
return "int"
elif param in ["constructiongroupname","textfont","patternFile","template",
"snapModes","FontFile","ClonePrefix","labeltype"]:
"snapModes","FontFile","ClonePrefix","labeltype"] \
or "inCommandShortcut" in param:
return "string"
elif param in ["textheight","tolerance","gridSpacing","arrowsize","extlines","dimspacing",
"dimovershoot","extovershoot"]: