After upgrading to uVision 4.50 it seems that every time I close and re-open uVision, my syntax highlighting goes back to default. How can I save my settings?
Also, how do I change the cursor color?
In uVision V4.50.00.0 Keil has implemented Scintilla based editor and it includes some enhancements. However they have broken some features in syntax highlighting which were well established in previous uVision versions.
It seems that Scintilla based editor in V4.50.00 recognizes doxygen tags and will highlight them default style that cannot be changed. This will happen if an extra asterisk after the leading comment delimiter exists. It will affect comments like this: /** Hello **/
It is very hard to read code when text after preprocessor statement is same color and style as statement itself. Previous versions of uVision has bracket mismatch highlight but it doesn't work in new editor. I wasn't able to save my syntax highlight settings either, they always returned to default after restarting uVision.
/** ****************************************************************************** * @file syntax_highlight.c * @author Author * @version 1.00.00 * @date 30.03.2012 * @brief Shows highlight differences between uVision V4.23.00.0 and V4.50.00.0 It seems that Scintilla based editor in V4.50.00.0 recognizes doxygen tags and will highlight them some default styles that cannot be changed. This will happen if an extra asterisk after the leading comment delimiter exists. It will affect comments like this: /** Highlight **/ */ /** Syntax Highlight in V4.50.00.0 will highlight this comment with color that cannot be changed**/ /* This comment is highlighted correctly */ // Differences in preprocessor command highlighting #include <file.h> /* in V4.50.00.0 <file.h> is highlighted with same style and color as #include */ #include "another.h" // also "another.h is highlighted same way void bracket_mismatch(void)) // Bracket mismatch highlighted correctly in V4.23.00, it doesn't work in V4.50.00.0 void bracket_match(void); // Both versions show bracket match correctly
http://www.keil.com/forum/20729/