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

Syntax Highlighting breaks inside string of setShort method #27

Open
PythooonUser opened this issue May 9, 2020 · 0 comments
Open

Syntax Highlighting breaks inside string of setShort method #27

PythooonUser opened this issue May 9, 2020 · 0 comments
Assignees
Labels
bug Something that is not working as expected. language grammar

Comments

@PythooonUser
Copy link
Owner

Describe the bug
Currently the syntax highlighting inside the string (first parameter) of the setShort method breaks when using whitespace.

To reproduce
Use the following code:

  • setShort ("+Waldrand, +Wald");
  • OR setShort( "+Waldrand, +Wald");
  • OR setShort ( "+Waldrand, +Wald");

grafik

Expected behavior
The expected behavior is to have syntax highlighting of +-&$* inside the string.

grafik

Additional context
This bug is by-design. We style strings differently by backtracking for the method name (if any) the string was called in. For syntax highlighting we might want to handle the setShort method differently than other methods and make it a standalone expression?

Severity
This bug does not need urgent fixing, as the whitespace breaking the syntax highlighting here is not used under normal circumstances.

@PythooonUser PythooonUser added bug Something that is not working as expected. language grammar labels May 9, 2020
@PythooonUser PythooonUser self-assigned this May 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something that is not working as expected. language grammar
Projects
None yet
Development

No branches or pull requests

1 participant