Author Topic: Color Scheme vs Syntax Settings  (Read 1280 times)

Offline HotPieDip

  • Newbie
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Color Scheme vs Syntax Settings
« on: December 30, 2014, 11:53:16 pm »
Whats the difference between Color Scheme and Syntax Settings -> Fonts and colors?

I wanted to make plain text files open with a specific Color Scheme, or maybe copy the settings from a Color Scheme, but it seems like the only color scheme in Syntax Settings is it's own default / default text.   

So, I could edit Syntax Settings -> Default/Default Text -> Fonts and Colors, but why I would need to manually duplicate here what was already done in Color Scheme.

I'm guessing I would edit the plain text user file, change this?
Code: [Select]
<SYNTAX id="text" inherit="def_text" inherit_url="deftext_user.xml">

I must be doing it wrong....

Offline HotPieDip

  • Newbie
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Re: Color Scheme vs Syntax Settings
« Reply #1 on: December 31, 2014, 12:19:39 am »
I think I figured it out.... the Syntax default pulls from whichever Color Scheme is selected.

I added a color to the Color Scheme, and it showed up in the Syntax Color/Font as an option :)

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2161
  • Karma: +37/-3
    • View Profile
    • HippoEDIT
Re: Color Scheme vs Syntax Settings
« Reply #2 on: December 31, 2014, 12:59:16 am »
You got it right: in Fonts & Colors you can define for some style or explicit color or you can refer to one of the colors from current Color Scheme (palette).
If you refer to palette colors (as it is recommended), your custom highlighting will change together with current color scheme. If you will use explicit color and will switch to another color scheme (fex dark), it may happen that your highlighting will not be properly visible in background color coming from the scheme.

 

Related Topics

  Subject / Started by Replies Last post
15 Replies
6220 Views
Last post December 30, 2008, 09:04:10 pm
by Stefan
2 Replies
1839 Views
Last post February 25, 2009, 10:50:40 pm
by Arthur
1 Replies
1450 Views
Last post August 12, 2010, 09:48:28 am
by alex
0 Replies
2494 Views
Last post June 19, 2011, 01:05:34 pm
by Anonymous
2 Replies
1601 Views
Last post June 25, 2011, 12:02:56 am
by RickF