mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-21 09:58:13 +00:00
ADD: More extensions to INI highlighter (issue #2898)
This commit is contained in:
parent
0fa82eceb8
commit
45895ad0ed
1 changed files with 14 additions and 0 deletions
|
|
@ -57,6 +57,11 @@ type
|
|||
TSynIniSynEx = class(TSynIniSyn)
|
||||
public
|
||||
constructor Create(AOwner: TComponent); override;
|
||||
{$IF DEFINED(LCL_VER_499)}
|
||||
function GetInitialDefaultFileFilterMask: string; override;
|
||||
{$ELSE}
|
||||
function GetDefaultFilter: string; override;
|
||||
{$ENDIF}
|
||||
end;
|
||||
|
||||
{ TSynPasSynEx }
|
||||
|
|
@ -243,6 +248,15 @@ begin
|
|||
SymbolAttri.StoredName := SYNS_XML_AttrSymbol;
|
||||
end;
|
||||
|
||||
{$IF DEFINED(LCL_VER_499)}
|
||||
function TSynIniSynEx.GetInitialDefaultFileFilterMask: string;
|
||||
{$ELSE}
|
||||
function TSynIniSynEx.GetDefaultFilter: string;
|
||||
{$ENDIF}
|
||||
begin
|
||||
Result:= 'INI Files (*.ini;*.desktop;*.service)|*.ini;*.desktop;*.service';
|
||||
end;
|
||||
|
||||
{ TSynPasSynEx }
|
||||
|
||||
function TSynPasSynEx.GetSampleSource: string;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue