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

Highlighting for macro calls and quoted symbols #9024

Merged
merged 2 commits into from Nov 30, 2014

Conversation

Wilfred
Copy link
Contributor

@Wilfred Wilfred commented Nov 15, 2014

The first commit ensures that we use a different face for highlighting macro calls, so users may choose to style macro calls differently from keywords.

The second commit highlights quoted symbols, as we weren't doing that at all previously. It's not perfect (we can't handle all the different versions of :end without a full parser) but it's very close.

@Wilfred
Copy link
Contributor Author

Wilfred commented Nov 18, 2014

I've pushed an improvement, so it now handles all the quoted symbols situations I can think of. I believe this is ready to merge, let me know if I need to make any changes.

JeffBezanson added a commit that referenced this pull request Nov 30, 2014
Highlighting for macro calls and quoted symbols
@JeffBezanson JeffBezanson merged commit 90b6c54 into JuliaLang:master Nov 30, 2014
@Wilfred Wilfred deleted the highlight_symbols branch December 1, 2014 23:54
@JeffBezanson
Copy link
Sponsor Member

I think it would make sense for quoted symbols to use constant-face by default; they are constants after all.

Also quoted-symbol-face seems not to work right at the beginning of a line. This is definitely a pretty rare case though.

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

Successfully merging this pull request may close these issues.

None yet

3 participants