HI All,
I am working in integrating my project into pelles c IDE , so i need to increase the number of colors those show in IDE editor.
BTW i modefied CppFile plugin to do my job.
so any help please?
Hi TimoVJL
Thanks for your reply, I ment that increasing max number of editor colors. Pelles allows only 8 colors to thr richeditor.
actually I have tried to integrating your example with th cppFile plugin but it does not successful.
So how you can change the Pelles editor on the fly so that we can use more than 8 colors?
borrow one of these://#define ADDIN_COLOR_KEYWORD1 10 // Current debugger line
//#define ADDIN_COLOR_KEYWORD1 11 // Profile lines
#define ADDIN_COLOR_KEYWORD1 12 // File difference
I really need a lot more than Pelles Edit displays i.e 20 colors, so i tried to integreat part of your " Pelles C_Parser and RTF " by getteing handle of Pelles Editor
/* Get window handle of the active MDI document */
hEdit = AddIn_GetActiveDocument(g_hwndMain);
then changing it's callback function as shown in your example "InsertC2RTF function".
it compiled okay and when tested all the text appeares in black color.
hope it is clear now , and thanks again for your work, l learned a lot from it.