Skip to content

Commit d02cc21

Browse files
committed
Highlight delay should take effect without restart...
1 parent 59555ec commit d02cc21

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

PluginCore/ScintillaNet/ScintillaControl.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5551,6 +5551,10 @@ private void StartHighlightSelectionTimer(ScintillaControl sci)
55515551
highlightDelay.SynchronizingObject = this as Control;
55525552
}
55535553
else highlightDelay.Stop();
5554+
if (highlightDelay.Interval != PluginBase.MainForm.Settings.HighlightMatchingWordsDelay)
5555+
{
5556+
highlightDelay.Interval = PluginBase.MainForm.Settings.HighlightMatchingWordsDelay;
5557+
}
55545558
highlightDelay.Start();
55555559
}
55565560
void highlightDelay_Elapsed(object sender, System.Timers.ElapsedEventArgs e)

0 commit comments

Comments
 (0)