Editing Syntax Highlighting keywords?

Having trouble installing Oxygen? Got a bug to report? Post it all here.
dep
Posts: 17
Joined: Wed May 10, 2006 9:17 pm

Editing Syntax Highlighting keywords?

Post by dep »

Hello, I notice in the Syntax Highlighting there is Keyword 1, 2, and 3. Is there any way to edit what these keywords are?

Cheers,
dep
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

Hello,

The names of the keywords used for syntax highlight cannot be edited. We will think about allowing the editing of those names. If you can tell us some better names to be displayed in Options -> Preferences -> Colors please let us know.

Regards,
Sorin
dep
Posts: 17
Joined: Wed May 10, 2006 9:17 pm

Post by dep »

sorin wrote:Hello,

The names of the keywords used for syntax highlight cannot be edited. We will think about allowing the editing of those names. If you can tell us some better names to be displayed in Options -> Preferences -> Colors please let us know.

Regards,
Sorin
Well, for instance, in Javascript:

Keyword 1 seems to belong to: var, if, else, for, etc
Keyword 3 seems to be tied to: function, null, this, true false, etc.

I can't seem to figure out what keyword 2 is assigned to. Perhaps keyword 2 should belong to object properties... style, display, background, fontWeight, fontSize, checked, etc, etc, etc.

Just an idea!

cheers,
dep
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

Hello,

Starting with version 7.2 the token names for each document type will be displayed in the Properties dialog together with a syntax highlighted fragment of a document of that type so that you can see to what tokens is applied each color. Also we will think about some better more clear token names.

Regards,
Sorin
dep
Posts: 17
Joined: Wed May 10, 2006 9:17 pm

Post by dep »

sorin wrote:Hello,

Starting with version 7.2 the token names for each document type will be displayed in the Properties dialog together with a syntax highlighted fragment of a document of that type so that you can see to what tokens is applied each color. Also we will think about some better more clear token names.

Regards,
Sorin
Sounds great! thank you.

dep
Post Reply