mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-28 10:02:14 +00:00
ADD: Also save search text options (Hex)
This commit is contained in:
parent
4c23e1c4b2
commit
15a1fc9eae
4 changed files with 7 additions and 1 deletions
|
|
@ -2662,6 +2662,8 @@ begin
|
|||
Include(Options, tsoMatchCase);
|
||||
if cbTextRegExp.Checked then
|
||||
Include(Options, tsoRegExpr);
|
||||
if chkHex.Checked then
|
||||
Include(Options, tsoHex);
|
||||
end;
|
||||
|
||||
procedure TfrmFindDlg.CancelCloseAndFreeMem;
|
||||
|
|
|
|||
|
|
@ -105,6 +105,8 @@ begin
|
|||
Include(Options, tsoMatchCase);
|
||||
if cbRegExp.Checked then
|
||||
Include(Options, tsoRegExpr);
|
||||
if chkHex.Checked then
|
||||
Include(Options, tsoHex);
|
||||
end;
|
||||
|
||||
end.
|
||||
|
|
|
|||
|
|
@ -2285,6 +2285,8 @@ begin
|
|||
FFindDialog.cbCaseSens.Checked:= True;
|
||||
if (tsoRegExpr in Options) then
|
||||
FFindDialog.cbRegExp.Checked:= True;
|
||||
if (tsoHex in Options) then
|
||||
FFindDialog.chkHex.Checked:= True;
|
||||
end;
|
||||
|
||||
if (bQuickSearch and gFirstTextSearch) or (not bQuickSearch) or (bPlugin and FFindDialog.chkHex.Checked) then
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ uses
|
|||
Classes, SysUtils, DCBasicTypes, uFile;
|
||||
|
||||
type
|
||||
TTextSearchOption = (tsoMatchCase, tsoRegExpr);
|
||||
TTextSearchOption = (tsoMatchCase, tsoRegExpr, tsoHex);
|
||||
TTextSearchOptions = set of TTextSearchOption;
|
||||
TTextSearch = (tsAnsi, tsUtf8, tsUtf16le, tsUtf16be, tsOther);
|
||||
TTimeUnit = (tuSecond, tuMinute, tuHour, tuDay, tuWeek, tuMonth, tuYear);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue