mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-23 09:39:30 +02:00
SynEdit: Highlighter, limit default as key, only in classes
git-svn-id: trunk@20605 -
This commit is contained in:
parent
ef037bb0b6
commit
d4702f28d9
@ -1232,9 +1232,15 @@ end;
|
|||||||
|
|
||||||
function TSynPasSyn.Func69: TtkTokenKind;
|
function TSynPasSyn.Func69: TtkTokenKind;
|
||||||
begin
|
begin
|
||||||
if KeyComp('Default') then Result := tkKey else
|
if KeyComp('Default') then begin
|
||||||
if KeyComp('Dynamic') then Result := tkKey else
|
if (TopPascalCodeFoldBlockType in [cfbtClass, cfbtClassSection]) then
|
||||||
if KeyComp('Message') then Result := tkKey else Result := tkIdentifier;
|
Result := tkKey
|
||||||
|
else
|
||||||
|
Result := tkIdentifier;
|
||||||
|
end else
|
||||||
|
if KeyComp('Dynamic') then Result := tkKey
|
||||||
|
else
|
||||||
|
if KeyComp('Message') then Result := tkKey else Result := tkIdentifier;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TSynPasSyn.Func71: TtkTokenKind;
|
function TSynPasSyn.Func71: TtkTokenKind;
|
||||||
|
Loading…
Reference in New Issue
Block a user