From e905e8f145ef5d91aa6f8200bf415569e28d5967 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Thu, 8 Apr 2021 16:12:22 +0200 Subject: Highlight control flow keywords with a different color This makes them easier to distinguish from other keywords. --- modules/gdnative/pluginscript/pluginscript_language.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules/gdnative/pluginscript/pluginscript_language.cpp') diff --git a/modules/gdnative/pluginscript/pluginscript_language.cpp b/modules/gdnative/pluginscript/pluginscript_language.cpp index 3ed1dcaca9..1360cf0299 100644 --- a/modules/gdnative/pluginscript/pluginscript_language.cpp +++ b/modules/gdnative/pluginscript/pluginscript_language.cpp @@ -77,6 +77,10 @@ void PluginScriptLanguage::get_reserved_words(List *p_words) const { } } +bool PluginScriptLanguage::is_control_flow_keyword(String p_keyword) const { + return false; +} + void PluginScriptLanguage::get_comment_delimiters(List *p_delimiters) const { if (_desc.comment_delimiters) { const char **w = _desc.comment_delimiters; -- cgit v1.2.3