Opened 3 hours ago

#19371 new enhancement

libshared: Common syntax colors

Reported by: nephele Owned by: stippi
Priority: normal Milestone: Unscheduled
Component: User Interface Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

Haiku should gain some "common" syntax colors for highlighting source code, so the system can show source code in a unified fashion.

Currently each application implements their own, and this is quite annoying (to me anyway)

Different Themes in (default install):

  • Pe
  • Debugger

(I think a third place too, but can't recall)

Other apps

  • Genio
  • Koder

One idea to solve this would be adjusting the system colors to work in a similar way to how the sound prefs work, New colors can be registered by installed applications and can be used then. This way we don't have to have a big "registry" or anything, and apps can figure out compatibility on their own.

Libshared could have two set of default colors as fallback, like is done with the normal system colors now. To satisfy the needs of Debugger, and then additionally for Genio, Koder, Pe respectively when those would be set to a special "system" theme.

Change History (0)

Note: See TracTickets for help on using tickets.