From 6f56b441188a114488a655c9faac9f07629da5e4 Mon Sep 17 00:00:00 2001 From: Pavel_Blend Date: Mon, 18 Nov 2019 20:17:29 +0300 Subject: [PATCH] Add python keywords Close #7613 --- PowerEditor/src/langs.model.xml | 3 ++- PowerEditor/src/stylers.model.xml | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/PowerEditor/src/langs.model.xml b/PowerEditor/src/langs.model.xml index c1977852..d74fdb6d 100644 --- a/PowerEditor/src/langs.model.xml +++ b/PowerEditor/src/langs.model.xml @@ -308,7 +308,8 @@ - and as assert async await break class continue def del elif else except exec False finally for from global if import in is lambda None nonlocal not or pass print raise return True try while with yield + and as assert async await break class continue def del elif else except finally for from global if import in is lambda nonlocal not or pass raise return try while with yield + ArithmeticError AssertionError AttributeError BaseException BlockingIOError BrokenPipeError BufferError BytesWarning ChildProcessError ConnectionAbortedError ConnectionError ConnectionRefusedError ConnectionResetError DeprecationWarning EOFError Ellipsis EnvironmentError Exception False FileExistsError FileNotFoundError FloatingPointError FutureWarning GeneratorExit IOError ImportError ImportWarning IndentationError IndexError InterruptedError IsADirectoryError KeyError KeyboardInterrupt LookupError MemoryError ModuleNotFoundError NameError None NotADirectoryError NotImplemented NotImplementedError OSError OverflowError PendingDeprecationWarning PermissionError ProcessLookupError RecursionError ReferenceError ResourceWarning RuntimeError RuntimeWarning StopAsyncIteration StopIteration SyntaxError SyntaxWarning SystemError SystemExit TabError TimeoutError True TypeError UnboundLocalError UnicodeDecodeError UnicodeEncodeError UnicodeError UnicodeTranslateError UnicodeWarning UserWarning ValueError Warning WindowsError ZeroDivisionError abs all any ascii bin bool breakpoint bytearray bytes callable chr classmethod compile complex copyright credits delattr dict dir divmod enumerate eval exec exit filter float format frozenset getattr globals hasattr hash help hex id input int isinstance issubclass iter len license list locals map max memoryview min next object oct open ord pow print property quit range repr reversed round set setattr slice sorted staticmethod str sum super tuple type vars zip if else repeat while function for in next break TRUE FALSE NULL NA Inf NaN diff --git a/PowerEditor/src/stylers.model.xml b/PowerEditor/src/stylers.model.xml index b6ccdea4..03272838 100644 --- a/PowerEditor/src/stylers.model.xml +++ b/PowerEditor/src/stylers.model.xml @@ -939,6 +939,7 @@ +