Merge pull request #33577 from Calinou/highlight-control-flow-keywords
Highlight control flow keywords with a different color
This commit is contained in:
commit
8962d36bb1
20 changed files with 115 additions and 9 deletions
|
|
@ -2336,6 +2336,10 @@ void VisualScriptLanguage::finish() {
|
|||
void VisualScriptLanguage::get_reserved_words(List<String> *p_words) const {
|
||||
}
|
||||
|
||||
bool VisualScriptLanguage::is_control_flow_keyword(String p_keyword) const {
|
||||
return false;
|
||||
}
|
||||
|
||||
void VisualScriptLanguage::get_comment_delimiters(List<String> *p_delimiters) const {
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -586,6 +586,7 @@ public:
|
|||
|
||||
/* EDITOR FUNCTIONS */
|
||||
virtual void get_reserved_words(List<String> *p_words) const;
|
||||
virtual bool is_control_flow_keyword(String p_keyword) const;
|
||||
virtual void get_comment_delimiters(List<String> *p_delimiters) const;
|
||||
virtual void get_string_delimiters(List<String> *p_delimiters) const;
|
||||
virtual Ref<Script> get_template(const String &p_class_name, const String &p_base_class_name) const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue