Ticket #3712 (new enhancement)

Opened 7 years ago

Last modified 7 years ago

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

comment:1 Changed 7 years ago by mooffie

Some skins that could benefit from this feature are sand256 and gray*256. These screenshots demonstrate the problem.

comment:2 Changed 7 years ago by egmont

  • Cc egmont added
Note: See TracTickets for help on using tickets.