User forums > Nightly builds
The 19 september 2010 build (6608) CODECOMPLETION BRANCH version is out.
imnotcb:
[I don't speak english]
* The 19 september 2010 build (6608) CODECOMPLETION BRANCH version is out.
syntax highlight problem (no bug)
(platform: win7 x64)
#if !(__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)) << color => blue
# undef TOTO << color => blue
# ifdef __GNUG__ << color => blue
# define TOTO 1234 << color => ... black?
# else << color => blue
# define TOTO 4321 << color => blue
# endif << color => blue
#endif << color => blue
//--------------
#if !(__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)) << color => blue
# undef TOTO << color => blue
# if defined __GNUG__ << color => blue
# define TOTO 1234 << color => blue
# else << color => blue
# define TOTO 4321 << color => ... black?
# endif << color => blue
#endif << color => blue
ollydbg:
--- Quote from: imnotcb on September 20, 2010, 01:20:22 am ---[I don't speak english]
* The 19 september 2010 build (6608) CODECOMPLETION BRANCH version is out.
syntax highlight problem (no bug)
#if !(__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)) << color => blue
# undef TOTO << color => blue
# ifdef __GNUG__ << color => blue
# define TOTO 1234 << color => ... black?
# else << color => blue
# define TOTO 4321 << color => blue
# endif << color => blue
#endif << color => blue
//--------------
#if !(__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)) << color => blue
# undef TOTO << color => blue
# if defined __GNUG__ << color => blue
# define TOTO 1234 << color => blue
# else << color => blue
# define TOTO 4321 << color => ... black?
# endif << color => blue
#endif << color => blue
--- End quote ---
HI, imnotcb, the "no-bug" example shows "as" the __GNUG__ is defined.
The later example shows that this macro is not defined.
The syntax highlight is done by the scintilla control, I'm not sure how it works.
CodeCompletion plugin currently not support the syntax highlight. (but CodeCompletion plugin do parse these preprocessor)
imnotcb:
it's possibly a bug because: ifdef == if defined
look my example again
Jenna:
@Loaden, I can not reproduce the crash, but face another bug:
if no file is open, the symbols-browser does not show anything (except the default symbols: Global functions, etc.) or the last shown entries, if at least one file was open and now all files are closed, after reparsing with no files open the symbols-browser is cleared (reparse-now from sb's ciontext-menu).
Loaden:
--- Quote from: jens on September 21, 2010, 12:26:35 am ---@Loaden, I can not reproduce the crash, but face another bug:
if no file is open, the symbols-browser does not show anything (except the default symbols: Global functions, etc.) or the last shown entries, if at least one file was open and now all files are closed, after reparsing with no files open the symbols-browser is cleared (reparse-now from sb's ciontext-menu).
--- End quote ---
Thank you, I have found the reason and fixed soon!
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version