Skip to content
New issue

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

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

Already on GitHub? # to your account

Syntax highlighting improvements #40

Closed
jackrusher opened this issue Jul 9, 2017 · 3 comments
Closed

Syntax highlighting improvements #40

jackrusher opened this issue Jul 9, 2017 · 3 comments

Comments

@jackrusher
Copy link
Collaborator

  • Some functions, like *, aren't getting highlighted as functions by CodeMirror. (We have a report of confusion from the field because of this).
  • Can we decorate with a class the depth of each expression modulo 2? I'd like to add subtle "zebra highlighting" by setting the background of each expression to an alternating set of very light grays -- like this, but prettier.
@mhuebert
Copy link
Owner

mhuebert commented Jul 9, 2017 via email

@jackrusher
Copy link
Collaborator Author

On the first one, what I want -- of course -- is to determine the types of things in the code by interrogating the running VM rather than guessing from a lookup table. It'll have to wait until we swap out the editor altogether, I suppose.

@mhuebert
Copy link
Owner

I've edited the theme to treat cm-builtin and cm-keyword the same (3fae874).

I've added the other comments here to a new wiki page to keep track of items that should be looked at again when we get to a tree editor: https://github.com/mhuebert/maria/wiki/Tree-editor

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

No branches or pull requests

2 participants