diff options
author | pommicket <pommicket@gmail.com> | 2023-07-06 18:05:49 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-07-06 18:05:49 -0400 |
commit | d37c3727de8c4b69031f0640c0fe94f6669061aa (patch) | |
tree | 4518737447d9b19080b23510867a817738b32ac8 /keywords.py | |
parent | b39e98f7e8a340bb5777029b05fc84b2b5ba6c08 (diff) |
remove highlighting for some rarely-used js window properties
Diffstat (limited to 'keywords.py')
-rwxr-xr-x | keywords.py | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/keywords.py b/keywords.py index 54eaf9a..4ec4eba 100755 --- a/keywords.py +++ b/keywords.py @@ -369,13 +369,15 @@ builtins_javascript = [ 'TypeError','Uint16Array','Uint32Array','Uint8Array','Uint8ClampedArray', 'URIError','WeakMap','WeakRef','WeakSet','WebAssembly', # window properties + # length, name, self, parent, and top are intentionally missing + # because they are more commonly used in other contexts 'console', 'customElements', 'devicePixelRatio', 'document', 'frameElement', - 'frames', 'history', 'innerHeight', 'innerWidth', 'length', 'localStorage', - 'location', 'locationbar', 'menubar', 'name', 'navigator', 'opener', - 'outerHeight', 'outerWidth', 'pageXOffset', 'pageYOffset', 'parent', + 'frames', 'history', 'innerHeight', 'innerWidth', 'localStorage', + 'location', 'locationbar', 'menubar', 'navigator', 'opener', + 'outerHeight', 'outerWidth', 'pageXOffset', 'pageYOffset', 'personalbar', 'scheduler', 'screen', 'screenLeft', 'screenTop', 'screenX', - 'screenY', 'scrollbars', 'scrollX', 'scrollY', 'self', 'sessionStorage', - 'speechSynthesis', 'statusbar', 'toolbar', 'top', 'visualViewport', 'window' + 'screenY', 'scrollbars', 'scrollX', 'scrollY', 'sessionStorage', + 'speechSynthesis', 'statusbar', 'toolbar', 'visualViewport', 'window' ] keywords_java = [ |