diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2020-04-01 09:12:47 +0200 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2020-04-01 09:12:47 +0200 |
commit | 49efd6093e35e5a51e4d41673341961e0af1220d (patch) | |
tree | 5640a89b1b5c91757f27ed641bf92f1dabd8b3a9 /modules | |
parent | ece425ace4f5d6a684d3f04bae65f3e179393d85 (diff) |
Remove syntax highlighting for C# verbatim strings due to bugs
This closes #32336.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/mono/csharp_script.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/mono/csharp_script.cpp b/modules/mono/csharp_script.cpp index 28bacbd0f0..4ccce529c3 100644 --- a/modules/mono/csharp_script.cpp +++ b/modules/mono/csharp_script.cpp @@ -316,7 +316,8 @@ void CSharpLanguage::get_string_delimiters(List<String> *p_delimiters) const { p_delimiters->push_back("' '"); // character 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) { |