mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-06 22:26:29 +02:00
SynEdit: Highlighter JS, add await and async. Issue #0030398
git-svn-id: trunk@52980 -
This commit is contained in:
parent
e551887b0f
commit
f1a3d2d51e
@ -756,6 +756,7 @@ begin
|
||||
if KeyComp('class') then Result := tkKey else
|
||||
if KeyComp('float') then Result := tkKey else
|
||||
if KeyComp('Float') then Result := tkNonReservedKey else
|
||||
if KeyComp('await') then Result := tkKey else
|
||||
if KeyComp('pageY') then Result := tkNonReservedKey else Result := tkIdentifier;
|
||||
end;
|
||||
|
||||
@ -822,6 +823,7 @@ begin
|
||||
if KeyComp('border') then Result := tkNonReservedKey else
|
||||
if KeyComp('host') then Result := tkNonReservedKey else
|
||||
if KeyComp('frames') then Result := tkNonReservedKey else
|
||||
if KeyComp('async') then Result := tkKey else
|
||||
if KeyComp('right') then Result := tkNonReservedKey else Result := tkIdentifier;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user