Feature Request : Editor Syntax Highlighting

Discussion about CodeLite development process and patches
rajah
CodeLite Enthusiast
Posts: 30
Joined: Mon Aug 25, 2008 10:41 pm
Contact:

Feature Request : Editor Syntax Highlighting

Post by rajah » Mon Aug 25, 2008 11:08 pm

I am beginning to fall in love with codelite. I used to use eclipse, but codelite is so much
lighter. I was wondering if I you can add more tags like
- enum
- typedef
- static variable
- global variable
- struct
- class
- functions
- Macros
to the syntax highlight setup? That would be very useful.

Thanks,
Rajah

User avatar
eranif
CodeLite Plugin
Posts: 6110
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Feature Request : Editor Syntax Highlighting

Post by eranif » Mon Aug 25, 2008 11:54 pm

have u tried 'Settings -> Tags Settings ... ' and enabling:
- Colour workspace tags
- Colout local variables

Eran
Make sure you have read the HOW TO POST thread

rajah
CodeLite Enthusiast
Posts: 30
Joined: Mon Aug 25, 2008 10:41 pm
Contact:

Re: Feature Request : Editor Syntax Highlighting

Post by rajah » Tue Aug 26, 2008 12:45 am

Hi Eran,

I tried that and found that it colours all the different types I
mentioned in the same colour. I was wondering if you could
individually sent colours for each one of them (I think you
can do that in eclipse).

Thanks,
Rajah

User avatar
eranif
CodeLite Plugin
Posts: 6110
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Feature Request : Editor Syntax Highlighting

Post by eranif » Tue Aug 26, 2008 8:40 am

It is limitation of scintilla, it provides me 5 diff of 'special keywords' 3 are used by default (for keywords, operators and I cant remember the third one) and I took advantage of the 2 last: 1 for workspace tags and 1 for local variables. So unless Scintilla will enhance it, I am afraid I cant do much about it (unless I will decide to dive into the LexCPP code...)

You may file a feature request at scintilla' project here: http://scintilla.org

Eran
Make sure you have read the HOW TO POST thread

rajah
CodeLite Enthusiast
Posts: 30
Joined: Mon Aug 25, 2008 10:41 pm
Contact:

Re: Feature Request : Editor Syntax Highlighting

Post by rajah » Tue Aug 26, 2008 9:10 pm

Oh, I understand, I will add a request on scintilla.
Thanks Eran

Rajah

Post Reply