Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ECMAScript 6, additional change to improve the "syntax highlighting" (based on 1574) #1684

Closed
speckyspooky opened this issue May 14, 2024 · 1 comment
Assignees
Labels
Enhancement Small change to improve the current supported functionality
Milestone

Comments

@speckyspooky
Copy link
Contributor

The "syntax highlighting" becomes an improvement in addition to the change of #1574.
So the editor screen of JavaScript will get additional commant for the highlighting
and also the listed JavaScript-functions at the script-builder will be changed to list more available functions.

The new option of String-multiline will be marked like the current strings "blue" colored.

The following new key words will be highlighted:

  • of
  • Packages
  • importPackage

The following functions will be highlighted (ROM will be changed):

  • Array | includes(searchvalue)
  • Array | includes(searchvalue, start)
  • String | at(index)
  • String | codePointAt(position)
  • String | includes(searchvalue)
  • String | endsWith(value)
  • String | startsWith(value)
  • String | repeat(copies)
  • String | replaceAll(RegExp, replacement)
  • String | padEnd(length, value)
  • String | padStart(length, value)
  • String | trim()
  • String | trimEnd()
  • String | trimStart()

Example screen of the changes:

grafik

@speckyspooky speckyspooky added the Enhancement Small change to improve the current supported functionality label May 14, 2024
@speckyspooky speckyspooky added this to the 4.16 milestone May 14, 2024
@speckyspooky speckyspooky self-assigned this May 14, 2024
@speckyspooky
Copy link
Contributor Author

The change #1685 is merged to the BIRT-master.

speckyspooky added a commit that referenced this issue May 18, 2024
* Enhance syntax highlights for object members (#1684)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Small change to improve the current supported functionality
Projects
None yet
Development

No branches or pull requests

1 participant