SetProcessWorkingSetSize(GetCurrentProcess(), -1, -1); // valid
#ifdef __WXMSW_
SetProcessWorkingSetSize(GetCurrentProcess(), -1, -1); // invalid
#endif
(http://forums.codeblocks.org/index.php?action=dlattach;topic=13332.0;attach=4944;image)
I see, but why not change color from black to grey?
It is possable?
#if 0
int grey() {} // Because have not syntax highlighting, so make the corlor from black to grey?
#else
void black();
#endif
Morten: do you feed the scintilla with the correct list of defines for the edited file?
If not please disable this feature for now, because it is useless...
Also, what happens if I open file that is not part of a project or it is part of a Makefile project?
I think both should have this automatically disabled...
Another thing: does scintilla open include files? What will happen if I've got:
// a.h
#define A_TEST
// a.cpp
#include "a.h"
#ifdef A_TEST
.... code1 ....
#else
.... code2 ....
#endif
Which of the two will be highlighted and which won't?