TextEditor: Add global variable text styles

Change-Id: I088dc484b6a4ace79609ca7fcc4145344ccea5a9
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
This commit is contained in:
Marco Bubke
2016-03-07 11:59:01 +01:00
parent f8e64a87bb
commit 40c4f7847f
6 changed files with 7 additions and 0 deletions

View File

@@ -52,6 +52,7 @@ const char *nameForStyle(TextStyle style)
case C_STRING: return "String";
case C_TYPE: return "Type";
case C_LOCAL: return "Local";
case C_GLOBAL: return "Global";
case C_FIELD: return "Field";
// TODO: Rename "Static" to "Enumeration" in next major update,
// because renaming here would break styles defined by the user.