Ticket #3712 (new enhancement)
Don't hardcode color-names in syntax-highlighting files
Reported by: | mooffie | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | Future Releases |
Component: | mcedit | Version: | master |
Keywords: | Cc: | egmont | |
Blocked By: | Blocking: | ||
Branch state: | no branch | Votes for changeset: |
Description
The editor's syntax-highlighting files have a color alias mechanism (and an #inclusion mechanism, BTW). We should use it, where possible, instead of repeating color names. E.g., "CONSTANT" instead of "brightmagenta italic". Some advantages:
- Letting users modify these colors globally.
- Making it possible for skins to tweak these colors.
- Uniformity among syntaxes.
(A somewhat related ticket: #3711)
Change History
Note: See
TracTickets for help on using
tickets.
Some skins that could benefit from this feature are sand256 and gray*256. These screenshots demonstrate the problem.