SetProcessWorkingSetSize(GetCurrentProcess(), -1, -1); // valid
#ifdef __WXMSW_
SetProcessWorkingSetSize(GetCurrentProcess(), -1, -1); // invalid
#endif
(http://forums.next.codeblocks.org/index.php?action=dlattach;topic=13332.0;attach=4944;image)
Quote from: Loaden on September 18, 2010, 12:38:28 PM
(http://forums.next.codeblocks.org/index.php?action=dlattach;topic=13332.0;attach=4944;image)
This is not invalid, but a new feature of scinitilla (and already reported in the forums). However, we should make this an option.
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
Quote from: Loaden on September 20, 2010, 01:57:46 AM
I see, but why not change color from black to grey?
It is possable?
I think so, yes.
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?
Quote from: oBFusCATed on September 20, 2010, 09:30:11 AM
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...
I got that already on my ToDo list, however, I am technically "offline" atm, so this will have to wait a little.