Ticket #3712 (new enhancement)

Opened 13 months ago

Last modified 13 months 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 13 months ago by mooffie

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

comment:2 Changed 13 months ago by egmont

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