Page 1 of 1

Problem with color highlighting

Posted: Tue Aug 07, 2012 2:31 pm
by JackR
Hi Jussi,

I just upgraded from 3.97D Beta to 3.97n Beta 12. There must have been a change to the color highlighting code in Zeus.

For C++ code, comments are displayed in blue.

I have a lot of old code I inherited and it has code that looks like this

int read_index; //* ptr's to next queue entry read */

In the current version of Zeus, the entire file after this line displays as a comment ( blue ). In the previous version, the color is correctly displayed after this line. Hopefully this can be fixed in Zeus. I hate the the thought of checking 1000's of files out and back into source control just to edit the comments.

if I change it to either of these, Zeus works correctly
int read_index; //* ptr's to next queue entry read
int read_index; /* ptr's to next queue entry read */


Thanks!
Jack

Posted: Wed Aug 08, 2012 1:02 am
by jussij
Hi Jack,

I am not seeing the bug at this end :(

If I paste the code below into a new test.cpp file running the Zeus beta 12 it all colors just fine.

Code: Select all

int read_index; //* ptr's to next queue entry read */

Some stuff .....

if I change it to either of these, Zeus works correctly
int read_index; //* ptr's to next queue entry read
int read_index; /* ptr's to next queue entry read */
It looks like there might be something in you local Zeus configuration settings :?

To test this theory could you move the entire Zeus install folder out with a rename and then run the full installer found here:

http://www.zeusedit.com/z300/zeus-beta.zip

Cheers Jussi

Posted: Wed Aug 08, 2012 3:44 pm
by JackR
Hi Jussi,

Your were correct, the virgin install does not have this problem. Instead of copying the zConfig folder over the new installation like I always have done, I manually configured the new install ( you greatly improved the default color selections so I didn't mind doing this work).

Thanks!
Jack