Merge pull request #21182 from Calinou/highlight-multiline-strings
Highlight multiline strings as strings instead of comments
This commit is contained in:
commit
c9498d4c3d
|
@ -46,12 +46,12 @@
|
|||
void GDScriptLanguage::get_comment_delimiters(List<String> *p_delimiters) const {
|
||||
|
||||
p_delimiters->push_back("#");
|
||||
p_delimiters->push_back("\"\"\" \"\"\"");
|
||||
}
|
||||
void GDScriptLanguage::get_string_delimiters(List<String> *p_delimiters) const {
|
||||
|
||||
p_delimiters->push_back("\" \"");
|
||||
p_delimiters->push_back("' '");
|
||||
p_delimiters->push_back("\"\"\" \"\"\"");
|
||||
}
|
||||
Ref<Script> GDScriptLanguage::get_template(const String &p_class_name, const String &p_base_class_name) const {
|
||||
#ifdef TOOLS_ENABLED
|
||||
|
|
Loading…
Reference in New Issue