FIX: Multi-line pattern search option state

(cherry picked from commit eb2bf85573)
This commit is contained in:
Alexander Koblov 2024-12-08 12:06:37 +03:00
commit ed59afc8ba

View file

@ -111,6 +111,7 @@ begin
cbSearchFromCursor.Enabled := ((eswoSearchFromCursorChecked in OptionAllowed) OR (eswoSearchFromCursorUnchecked in OptionAllowed));
cbSearchRegExp.Enabled := ((eswoRegularExpressChecked in OptionAllowed) OR (eswoRegularExpressUnchecked in OptionAllowed));
rgSearchDirection.Enabled := ((eswoDirectionEnabledForward in OptionAllowed) OR (eswoDirectionEnabledBackward in OptionAllowed));
cbMultiLine.Enabled := cbSearchRegExp.Enabled;
//2. Let's set the option to their default according to what host wants to offer
cbSearchCaseSensitive.Checked := (eswoCaseSensitiveChecked in OptionAllowed);