diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2021-05-07 00:52:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-07 00:52:50 +0200 |
commit | 8962d36bb1c249d608f2d2855f7b8258b0ed6309 (patch) | |
tree | c3e00d103d7b0fd27c95292bc1752ba2b611f42d /core | |
parent | 49b556a9f112be63b1c188dfb7ba055db7118471 (diff) | |
parent | e905e8f145ef5d91aa6f8200bf415569e28d5967 (diff) |
Merge pull request #33577 from Calinou/highlight-control-flow-keywords
Highlight control flow keywords with a different color
Diffstat (limited to 'core')
-rw-r--r-- | core/object/script_language.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/object/script_language.h b/core/object/script_language.h index f9898ccd0c..bb46c718b2 100644 --- a/core/object/script_language.h +++ b/core/object/script_language.h @@ -303,6 +303,7 @@ public: void get_core_type_words(List<String> *p_core_type_words) const; virtual void get_reserved_words(List<String> *p_words) const = 0; + virtual bool is_control_flow_keyword(String p_string) const = 0; virtual void get_comment_delimiters(List<String> *p_delimiters) const = 0; virtual void get_string_delimiters(List<String> *p_delimiters) const = 0; virtual Ref<Script> get_template(const String &p_class_name, const String &p_base_class_name) const = 0; |