From 6c0fe3450b1cae1579a3bf6266adc018a0fe2633 Mon Sep 17 00:00:00 2001 From: Pablo Socolovsky Date: Fri, 16 Feb 2024 14:41:34 +0100 Subject: [PATCH] allow container lexer to be selected when setting LexerName as empty string --- Shared/Scintilla.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shared/Scintilla.cs b/Shared/Scintilla.cs index 2615a4a..cfa507f 100644 --- a/Shared/Scintilla.cs +++ b/Shared/Scintilla.cs @@ -4845,7 +4845,7 @@ public string LexerName set { - if (string.IsNullOrWhiteSpace(value)) + if (string.IsNullOrWhiteSpace(value) && value != string.Empty) { lexerName = value;