Skip to content

Commit

Permalink
JavaScript, editor gets additional object highlighting (#1978)
Browse files Browse the repository at this point in the history
  • Loading branch information
speckyspooky authored Nov 16, 2024
1 parent 2d339ce commit 6608af6
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,11 @@ protected void addWords(WordRule rule, String[] tokens, IToken token) {
* syntax highlights
*/
private void fetchJSCommonObjectsMethods() {
this.globalObjectTokens.add("_jsContext"); //$NON-NLS-1$
this.globalObjectTokens.add("_statusHandle"); //$NON-NLS-1$
this.globalObjectTokens.add("report"); //$NON-NLS-1$
this.globalObjectTokens.add("reportContext"); //$NON-NLS-1$
this.globalObjectTokens.add("config"); //$NON-NLS-1$
this.globalObjectTokens.add("params"); //$NON-NLS-1$
this.globalObjectTokens.add("vars"); //$NON-NLS-1$
this.globalObjectTokens.add("row"); //$NON-NLS-1$
Expand All @@ -190,6 +194,7 @@ private void fetchJSCommonObjectsMethods() {
this.keywordMethods.add("value"); //$NON-NLS-1$
this.keywordMethods.add("data"); //$NON-NLS-1$
this.keywordMethods.add("displayText"); //$NON-NLS-1$
this.keywordMethods.add("currentPage"); //$NON-NLS-1$
this.keywordMethods.add("pageNumber"); //$NON-NLS-1$
this.keywordMethods.add("totalPage"); //$NON-NLS-1$

Expand Down

0 comments on commit 6608af6

Please sign in to comment.