diff --git a/components/synedit/synhighlighterpython.pas b/components/synedit/synhighlighterpython.pas index edf5f4357e..5ad360db57 100644 --- a/components/synedit/synhighlighterpython.pas +++ b/components/synedit/synhighlighterpython.pas @@ -228,31 +228,41 @@ const ); // List of non-keyword identifiers - NONKEYWORDCOUNT = 65; + NONKEYWORDCOUNT = 78; NONKEYWORDS: array [1..NONKEYWORDCOUNT] of string = ( '__future__', '__import__', 'abs', - 'apply', - 'as', - 'buffer', + 'aiter', + 'all', + 'anext', + 'any', + 'ascii', + 'bin', + 'bool', + 'breakpoint', + 'bytearray', + 'bytes', 'callable', 'chr', - 'cmp', - 'coerce', + 'classmethod', 'compile', 'complex', + 'copyright', + 'credits', 'delattr', 'dict', 'dir', 'divmod', + 'enumerate', 'eval', 'exec', - 'execfile', - 'file', + 'exit', 'filter', 'float', + 'format', + 'frozenset', 'getattr', 'globals', 'hasattr', @@ -262,39 +272,42 @@ const 'id', 'input', 'int', - 'intern', 'isinstance', 'issubclass', 'iter', 'len', + 'license', 'list', 'locals', - 'long', - 'NotImplemented', 'map', 'max', + 'memoryview', 'min', + 'next', + 'NotImplemented', + 'object', 'oct', 'open', 'ord', 'pow', 'print', + 'property', + 'quit', 'range', - 'raw_input', - 'reduce', - 'reload', 'repr', + 'reversed', 'round', - 'self', + 'set', 'setattr', 'slice', + 'sorted', + 'staticmethod', 'str', + 'sum', + 'super', 'tuple', 'type', - 'unichr', - 'unicode', 'vars', - 'xrange', 'zip' ); var