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 requires blank between ⋄ and :endif #1

Open
mbaas2 opened this issue Sep 14, 2019 · 2 comments
Open

Syntax highlighting requires blank between ⋄ and :endif #1

mbaas2 opened this issue Sep 14, 2019 · 2 comments

Comments

@mbaas2
Copy link

mbaas2 commented Sep 14, 2019

Does not color ...⋄:endifcorrectly.

@aplteam
Copy link

aplteam commented Apr 3, 2020

Well, putting and control structures on the same line is a very bad idea. So, rather putting an effort into "fixing" this my advice is: don't do this.

As long as the Dyalog debugger does not process diamondized lines properly, putting them on one line defeats the whole purpose of control structures: you won't see which code is executed and which isn't.

@mbaas2
Copy link
Author

mbaas2 commented Apr 3, 2020

I agree that a better handling in the tracer would be nice. But I disagree with the conclusion about not fixing this.
NB: This would also affect cases like

:if Condition
   DoThis ⋄:endif

which are frequently use. That can be traced/debugged just fine, but the syntax colouring does not kick in for the 2nd line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants