mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
Merge 9be7a75e48 into 54d6654ad1
This commit is contained in:
commit
cf60d430b2
1 changed files with 14 additions and 0 deletions
|
|
@ -106,6 +106,11 @@ type
|
|||
TSynUNIXShellScriptSynEx = class(TSynUNIXShellScriptSyn)
|
||||
protected
|
||||
function GetSampleSource: string; override;
|
||||
{$IF DEFINED(LCL_VER_499)}
|
||||
function GetInitialDefaultFileFilterMask: string; override;
|
||||
{$ELSE}
|
||||
function GetDefaultFilter: string; override;
|
||||
{$ENDIF}
|
||||
end;
|
||||
|
||||
{ TSynPlainTextHighlighter }
|
||||
|
|
@ -348,6 +353,15 @@ begin
|
|||
'# Text Block'#13#10 + #13#10;
|
||||
end;
|
||||
|
||||
{$IF DEFINED(LCL_VER_499)}
|
||||
function TSynUNIXShellScriptSynEx.GetInitialDefaultFileFilterMask: string;
|
||||
{$ELSE}
|
||||
function TSynUNIXShellScriptSynEx.GetDefaultFilter: string;
|
||||
{$ENDIF}
|
||||
begin
|
||||
Result:= 'UNIX Shell Script (*.sh,.bashrc,.profile)|*.sh;.bashrc;.profile';
|
||||
end;
|
||||
|
||||
{ TSynPlainTextHighlighter }
|
||||
|
||||
function TSynPlainTextHighlighter.GetSampleSource: string;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue