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

CodeMirror improvements for UmpleOnline - Highlighting #221

Open
Nava2 opened this Issue Aug 26, 2015 · 2 comments

Comments

Projects
None yet
3 participants
@Nava2
Member

Nava2 commented Aug 26, 2015

Originally reported on Google Code with ID 322


I would like to see the UmpleOnline text editor enhanced to highlight the following:

  1. State definitions and constant values in dark blue.
  2. Event names (state transitions) in dark red and method names in pink;
  3. Destination states of transitions in light blue
  4. The names of classes, in dark green and references to classes in light green.
  5. Attributes names and stateMachines in some other colour that is not too bright and
    doesn't conflict with the above,

This would be done by creating an overlay parser or parsers, as shown: http://codemirror.net/demo/mustache.html

Make sure this works with enumerations too, which are degenerate state machines.

You would have to parse declarations of classes finding elements that are, for example,state
machines and states, and then highlight then. Remember: It will be necessary to highlight
substate names that could be nested deeply.

Note I am going to add another issue that deals with syntax assistance too, which could
be done at the same time as this.


Reported by @umple on 2012-08-08 18:46:49

@Nava2

This comment has been minimized.

Member

Nava2 commented Aug 26, 2015

Reported by @umple on 2012-12-31 17:57:13

  • Status changed: Accepted
@Nava2

This comment has been minimized.

Member

Nava2 commented Aug 26, 2015

Reported by @umple on 2013-07-08 15:16:00

  • Owner removed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment