mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-06 07:58:07 +02:00
SynEdit: Pas-Highlighter, fix "nil^" as deref, rather than the next source-char being a "^" control char like "^c".
This commit is contained in:
parent
8d696889c4
commit
68f4d56310
@ -1439,8 +1439,10 @@ end;
|
||||
|
||||
function TSynPasSyn.Func35: TtkTokenKind;
|
||||
begin
|
||||
if KeyComp('Nil') then
|
||||
Result := tkKey
|
||||
if KeyComp('Nil') then begin
|
||||
Result := tkKey;
|
||||
fRange := fRange + [rsAfterIdentifierOrValueAdd];
|
||||
end
|
||||
else
|
||||
if KeyComp('To') then
|
||||
Result := tkKey
|
||||
|
Loading…
Reference in New Issue
Block a user