Hello,
I am having trouble setting custom colors under Settings->System Highlighting and Fonts. I can create a 'custom' entry by copying the default directory from C:\Program Files\CodeLite\lexers\default to C:\Program Files\CodeLite\lexers\custom and selecting 'custom' from the drop down menu in CodeLite. When I change the color of a C style comment and hit 'apply', then close all the source windows and exit CodeLite, when I restart CodeLite the changes do not take effect. Any steps that I am missing here?
Thanks
Kurt Ehrhardt
Sorry its CodeLIte version 1.0.3034
Trouble with Syntax Highlighting
-
- CodeLite Enthusiast
- Posts: 24
- Joined: Wed Jan 28, 2009 7:51 pm
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Trouble with Syntax Highlighting
Weird, I did the exact steps you described here, and it worked for me
Eran
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Enthusiast
- Posts: 24
- Joined: Wed Jan 28, 2009 7:51 pm
- Contact:
Re: Trouble with Syntax Highlighting
Well this was brought to my attention from another user, but I am experiencing the same problems. The symptom is that it looks like CodeLite is always using the default settings when it first loads, even though 'custom' is set. To make matters worse, it looks like *sometimes* when CodeLite is exited, the custom file gets overwritten with the default settings. I am using Beyond Compare and comparing the files lexer_cpp.kurt.kurt.ehrhardt_xml in the default and custom directories after different actions within CodeLite. When selecting custom from the drop down, and modifying the C style comment color (Green), the color changes in CodeLite to Green and the "Colour" parameter of Property Id=1 changes in the file in the custom directory (to 00FF00). This is good. When I exit CodeLite, the file in the custom directory still looks good (still has 00FF00, Green), it retains the change to the color. Yet when CodeLite is restarted, the comment color is back to default (0080C0). If I look at the drop down, it says I am using custom settings, but the settings in the dialog box for the C style comment has the default color selection. Looking at the lexer_cpp.kurt.kurt.ehrhardt_xml file in the custom directory at this point, it still has the color set to Green (00FF00). When I exit CodeLite again, the lexer_cpp.kurt.kurt.ehrhardt_xm file in the custom directory gets written with the default color (0080C0).
So it looks to me like something is clobbering the custom color settings and they are getting written back out to the files in the custom directory.
So it looks to me like something is clobbering the custom color settings and they are getting written back out to the files in the custom directory.
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Trouble with Syntax Highlighting
I fixed a bug related this today. It seems like in cases where the user name contains dot '.' or any other non plain [a-z] character it may cause a problems (like spaces in name)
Can u build codelite from sources? if you can, give it a try and let me know
Eran
Can u build codelite from sources? if you can, give it a try and let me know
Eran
Make sure you have read the HOW TO POST thread