Fix theme issues with regex context menu

This commit is contained in:
Nikolaj Olsson 2024-06-05 06:40:56 +02:00
parent 52496910a2
commit 78a978d7e1

View File

@ -302,6 +302,12 @@ namespace Nikse.SubtitleEdit.Logic
cm.Items.Add(l.OneOrMore, null, delegate { textBox.SelectedText = "+"; });
cm.Items.Add(l.InCharacterGroup, null, delegate { textBox.SelectedText = "[test]"; });
cm.Items.Add(l.NotInCharacterGroup, null, delegate { textBox.SelectedText = "[^test]"; });
if (Configuration.Settings.General.UseDarkTheme)
{
DarkTheme.SetDarkTheme(cm);
}
return cm;
}