Commit 2545c399 authored by Juha Manninen's avatar Juha Manninen
Browse files

IDE: Remember the "Origin" setting in Search/Find dialog. Issue #32619.

git-svn-id: trunk@56256 -
parent 5dc2a8fa
......@@ -3329,7 +3329,8 @@ end;
{------------------------------S T A R T F I N D-----------------------------}
procedure TSourceEditor.StartFindAndReplace(Replace:boolean);
const
SaveOptions = [ssoMatchCase,ssoWholeWord,ssoRegExpr,ssoRegExprMultiLine,ssoPrompt,ssoBackwards];
SaveOptions = [ssoMatchCase, ssoWholeWord, ssoRegExpr, ssoRegExprMultiLine,
ssoPrompt, ssoEntireScope, ssoBackwards];
var
NewOptions: TSynSearchOptions;
ALeft,ATop:integer;
......@@ -3346,7 +3347,7 @@ begin
else
NewOptions := NewOptions - [ssoReplace, ssoReplaceAll];
NewOptions:=NewOptions-SaveOptions+InputHistoriesSO.FindOptions*SaveOptions
-[ssoSelectedOnly, ssoEntireScope];
-[ssoSelectedOnly];
// Fill in history items
LazFindReplaceDialog.TextToFindComboBox.Items.Assign(InputHistoriesSO.FindHistory);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment