Custom colour schemes

Oxygen general issues.
gregster
Posts: 4
Joined: Fri Jan 13, 2012 10:35 pm

Custom colour schemes

Post by gregster »

The stock colour scheme for Oxygen is tough for me to endure for hours on end.

The Zenburn look is just right for my eyes, so I've taken a stab at a Zenburn-ish scheme for Oxygen. I only have XML, XQuery, XPath and Javascript completed, but if it helps anyone else out you're welcome to it.

Get it here:
http://hcmc.uvic.ca/people/greg/oxypref ... enburn.xml
bds
Posts: 47
Joined: Mon Jun 26, 2006 10:40 pm

Re: Custom colour schemes

Post by bds »

hi Greg & others,

i'm interesting in applying (and tweaking) this color scheme -- however, short of rekeying the new values, i'm not seeing a way to "import" a color scheme (this being the only one).

is there a directory to drop a file like this? or, a config file that can be edited, perhaps somewhere in ~/oxygen/frameworks/?

@Greg - thanks very much for the coloring scheme! dark colors are easier on my eyes, too.

cheers!
bds
Posts: 47
Joined: Mon Jun 26, 2006 10:40 pm

Re: Custom colour schemes

Post by bds »

i see another thread on importing global options. apologies for the post.
bds
Posts: 47
Joined: Mon Jun 26, 2006 10:40 pm

Re: Custom colour schemes

Post by bds »

hi all - thanks in advance for any suggestions you have regarding this issue. i'm working on a color scheme, but there are certain characters that 1) aren't following the scheme, and 2) seem to be non-editable.

i've attached a screenshot illustrating the problem:Image

the characters in question:
<xsl:template match="/*"> or <xsl:apply-templates select="@*|node()"/>

i'm not finding a place to edit attribute values, or values in nested double/single quotes. is it there and i'm overlooking it? thanks again.
adrian
Posts: 2850
Joined: Tue May 17, 2005 4:01 pm

Re: Custom colour schemes

Post by adrian »

@bds: What version of Oxygen are you using(Help > About)?

I believe there were some tokens in v12 and earlier that could not be configured.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
bds
Posts: 47
Joined: Mon Jun 26, 2006 10:40 pm

Re: Custom colour schemes

Post by bds »

@Adrian,
oXygen 13.2, build 2012012413

thanks!
adrian
Posts: 2850
Joined: Tue May 17, 2005 4:01 pm

Re: Custom colour schemes

Post by adrian »

Hi,

Starting with 13.2 Oxygen has syntax highlight for mixed content types(embedded content).
The values of the match and select attributes are considered XPath and have their own color scheme. So, to change their colors you have to edit the XPath color scheme: Options > Preferences, Editor > Colors, XPath

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
bds
Posts: 47
Joined: Mon Jun 26, 2006 10:40 pm

Re: Custom colour schemes

Post by bds »

Adrian - thanks (again) for the help. It's much appreciated!

cheers!
bds
Posts: 47
Joined: Mon Jun 26, 2006 10:40 pm

Re: Custom colour schemes

Post by bds »

hi all --

here's another dark color scheme, roughly based on Dmitriy Zotikov's xoria256 for Vim. I hope someone finds this useful. Thanks to Greg & Adrian for the starting point & helpful suggestions!

Grab it here: http://dlweb.lib.utk.edu/~bridger/errat ... -esque.xml

Cheers!
gregster
Posts: 4
Joined: Fri Jan 13, 2012 10:35 pm

Re: Custom colour schemes

Post by gregster »

I notice that there have been some changes to the way colour schemes work, so I've adjusted my zenburn scheme for v14. If you look at the file you'll notice that I've provided the stock values that oxygen uses as well as a few comments to help if you're interested in extending/changing it.
I've added as many languages as I find myself using, but the list is not complete (it would be great if we could export a complete prefs file that gave us all possible editable values. It would make colour scheme creation pretty easy.).
Grab a copy here http://hcmc.uvic.ca/people/greg/oxygen- ... urn.tar.gz. Inside the zip file is the zenburn scheme as well as a 'stock' colour scheme and an xslt file that I use to transform the stock file.
Post Reply