mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-27 15:25: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;
|
function TSynPasSyn.Func35: TtkTokenKind;
|
||||||
begin
|
begin
|
||||||
if KeyComp('Nil') then
|
if KeyComp('Nil') then begin
|
||||||
Result := tkKey
|
Result := tkKey;
|
||||||
|
fRange := fRange + [rsAfterIdentifierOrValueAdd];
|
||||||
|
end
|
||||||
else
|
else
|
||||||
if KeyComp('To') then
|
if KeyComp('To') then
|
||||||
Result := tkKey
|
Result := tkKey
|
||||||
|
Loading…
Reference in New Issue
Block a user