1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-23 15:16:17 +00:00

GDScript highlighter now remembers previous state

This commit is contained in:
Paulb23
2018-04-12 21:46:10 +01:00
parent c3d93edf3d
commit 28dfc7f915
2 changed files with 56 additions and 6 deletions

View File

@@ -35,6 +35,17 @@
class GDScriptSyntaxHighlighter : public SyntaxHighlighter {
private:
enum Type {
NONE,
REGION,
SYMBOL,
NUMBER,
FUNCTION,
KEYWORD,
MEMBER,
IDENTIFIER
};
// colours
Color font_color;
Color symbol_color;