mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 06:01:14 +00:00
Remove syntax highlighting for C# verbatim strings due to bugs
This closes #32336.
(cherry picked from commit 49efd6093e)
This commit is contained in:
parent
c2469d0c6d
commit
dd4569f15c
1 changed files with 2 additions and 1 deletions
|
|
@ -308,7 +308,8 @@ void CSharpLanguage::get_string_delimiters(List<String> *p_delimiters) const {
|
||||||
|
|
||||||
p_delimiters->push_back("' '"); // character literal
|
p_delimiters->push_back("' '"); // character literal
|
||||||
p_delimiters->push_back("\" \""); // regular string literal
|
p_delimiters->push_back("\" \""); // regular string literal
|
||||||
p_delimiters->push_back("@\" \""); // verbatim string literal
|
// Verbatim string literals (`@" "`) don't render correctly, so don't highlight them.
|
||||||
|
// Generic string highlighting suffices as a workaround for now.
|
||||||
}
|
}
|
||||||
|
|
||||||
static String get_base_class_name(const String &p_base_class_name, const String p_class_name) {
|
static String get_base_class_name(const String &p_base_class_name, const String p_class_name) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue