Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Use a modified version of Scintilla?

(1/3) > >>

Micah:
I recently added a feature to Scintilla to fold code on the line above the brace so the following:

--- Code: ----while(foo)
{
bar;
}
--- End code ---
will fold into:

--- Code: ---+while(foo)
--- End code ---
instead of:

--- Code: ---while(foo)
+{
--- End code ---

I would like this feature to be available to myself while using Code::Blocks, but I was unable to figure out how to include my own version of Scintilla when compiling Code::Blocks. Can anyone offer me any pointers on how to do this?

Urxae:
I think you'll have to change STC (the wxWidgets binding of Scintilla, %WXDIR%/contrib/stc I think) to use your version of Scintilla and recompile it, then compile Code::Blocks with that library. Don't forget to compile wxWidgets itself first if you haven't done so yet, though.

rickg22:
Maybe we could use the wxScintilla class (a derivative of wxStyledTextCtrl, google for it). Just a question.

Can it be configured with a parameter or something?

Micah:
What configure parameters do I need to pass to compile wxWidgets for Code::Blocks?  Just --enabled-shared and everything else as default?

David Perfors:
see the wiki ;)

Navigation

[0] Message Index

[#] Next page

Go to full version