Preprocessing and scintilla_22

Discussion about CodeLite development process and patches
User avatar
eranif
CodeLite Plugin
Posts: 6367
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Preprocessing and scintilla_22

Post by eranif »

Can't really remember, but I can tell you this:
in the database the files are kept using native paths (\) so I think that it is safe to change it to use backslashes

ofc, testing are needed...

Eran
Make sure you have read the HOW TO POST thread
jfouche
CodeLite Guru
Posts: 351
Joined: Mon Oct 20, 2008 7:26 pm
Genuine User: Yes
IDE Question: C++
Location: France
Contact:

Re: Preprocessing and scintilla_22

Post by jfouche »

OK, I know why : It's based on the include / exclude path, which can contain '/' instead of '\'. Never mind, I didn't change anything in the filecrawler..
This new patch (begin to) rocks. 8-)

The bugs are still the following :
- all port of wxWidgets are defined.
- if a macro is defined in a project file, it will be always visible as defined (even if it's not really the case).
- a macro defined on the command line is not visible (probably not to hard to fix).
- I didn't manage the option.

As always, your comments are greatly welcome.
You do not have the required permissions to view the files attached to this post.
Jérémie
User avatar
eranif
CodeLite Plugin
Posts: 6367
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Preprocessing and scintilla_22

Post by eranif »

I applied the patch + added support in the GUI to enable / disable it. By default it is disabled.
The option to enable it is from Settings | Tags Settings | Colouring

BTW: I can still see block guards which are failing (for example: pptable.h)

Speed wise it seems OK without any noticeable side effects

Eran
Make sure you have read the HOW TO POST thread
jfouche
CodeLite Guru
Posts: 351
Joined: Mon Oct 20, 2008 7:26 pm
Genuine User: Yes
IDE Question: C++
Location: France
Contact:

Re: Preprocessing and scintilla_22

Post by jfouche »

eranif wrote:BTW: I can still see block guards which are failing (for example: pptable.h)
Strange : it works here (updated my repository, after reverting my changes) :?:
Jérémie
Post Reply