|
@@ -68,7 +68,9 @@ procedure SetLowPriority(ALowPriority: Boolean; var SavePriorityClass: DWORD);
|
|
procedure SetHelpFileDark(const Dark: Boolean);
|
|
procedure SetHelpFileDark(const Dark: Boolean);
|
|
function GetHelpFile: String;
|
|
function GetHelpFile: String;
|
|
function FindOptionsToSearchOptions(const FindOptions: TFindOptions;
|
|
function FindOptionsToSearchOptions(const FindOptions: TFindOptions;
|
|
- const RegEx: Boolean): TScintFindOptions;
|
|
|
|
|
|
+ const RegEx: Boolean): TScintFindOptions; overload;
|
|
|
|
+function FindOptionsToSearchOptions(const MatchCase: Boolean;
|
|
|
|
+ const RegEx: Boolean): TScintFindOptions; overload;
|
|
function RegExToReplaceMode(const RegEx: Boolean): TScintReplaceMode;
|
|
function RegExToReplaceMode(const RegEx: Boolean): TScintReplaceMode;
|
|
procedure StartAddRemovePrograms;
|
|
procedure StartAddRemovePrograms;
|
|
function GetSourcePath(const AFilename: String): String;
|
|
function GetSourcePath(const AFilename: String): String;
|
|
@@ -731,6 +733,16 @@ begin
|
|
Include(Result, sfoRegEx);
|
|
Include(Result, sfoRegEx);
|
|
end;
|
|
end;
|
|
|
|
|
|
|
|
+function FindOptionsToSearchOptions(const MatchCase: Boolean;
|
|
|
|
+ const RegEx: Boolean): TScintFindOptions; overload;
|
|
|
|
+begin
|
|
|
|
+ Result := [];
|
|
|
|
+ if MatchCase then
|
|
|
|
+ Include(Result, sfoMatchCase);
|
|
|
|
+ if RegEx then
|
|
|
|
+ Include(Result, sfoRegEx);
|
|
|
|
+end;
|
|
|
|
+
|
|
function RegExToReplaceMode(const RegEx: Boolean): TScintReplaceMode;
|
|
function RegExToReplaceMode(const RegEx: Boolean): TScintReplaceMode;
|
|
begin
|
|
begin
|
|
if RegEx then
|
|
if RegEx then
|