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

Code Highlighting #26

Open
scottgarner opened this issue Nov 10, 2013 · 1 comment
Open

Code Highlighting #26

scottgarner opened this issue Nov 10, 2013 · 1 comment

Comments

@scottgarner
Copy link
Collaborator

There are two factors at play here.

First, I've created an Ace editor mode for Processing (adapted, really) that has regular expressions to match ranges of characters and mark them with CSS classes. It does other things, too, that I don't understand, but we'll ignore that. If we want to change what does or doesn't get highlighted, those changes happen here:

/js/vendor/ace/mode-processing.js

Second is the Ace editor theme for Processing, which dictates the actual colors:

/js/vendor/ace/theme-processing.js

Things should be reasonably sane for now, but if we want to try to match the actual IDE colors, this is the place to do it. To me this is the lowest priority issue.

@scotthmurray
Copy link
Member

Agreed, low priority. But still, thanks for looking into this.

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

No branches or pull requests

2 participants