SynEdit: Python-HL, add some keywords. Issue #40585

This commit is contained in:
Martin 2024-09-26 11:12:31 +02:00
parent 183907b58d
commit 9a0b5f6a68

View File

@ -187,11 +187,13 @@ const
// No need to localise keywords!
// List of keywords
KEYWORDCOUNT = 29;
KEYWORDCOUNT = 33;
KEYWORDSIdents: array [1..KEYWORDCOUNT] of string =
(
'and',
'assert',
'async',
'await',
'break',
'class',
'continue',
@ -210,6 +212,7 @@ const
'in',
'is',
'lambda',
'nonlocal',
'not',
'or',
'pass',
@ -218,6 +221,7 @@ const
'return',
'try',
'while',
'with',
'yield'
);