Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Codeblocks and Scintilla
Barking_Mad:
Firstly, if this is not the appropriate forum to post this in please move and remove this apology.
I read that codeblocks uses scintilla as its base editor. Is the scintilla that code blocks uses the same as 1.76 scintilla or is it a customised/modified form?
stahta01:
--- Quote from: Barking_Mad on October 06, 2008, 04:41:01 pm ---Firstly, if this is not the appropriate forum to post this in please move and remove this apology.
I read that codeblocks uses scintilla as its base editor. Is the scintilla that code blocks uses the same as 1.76 scintilla or is it a customised/modified form?
--- End quote ---
The version I am not sure about, but it is mainly unmodified because Code::Blocks wants patches to it submitted upstream.
Note, wxScintilla is modified by the Code::Blocks Team and they do accept patches to the wxScintilla portion of the code. The C::B team then tries to submit the changes upstream to wxScintilla if they feel it is worth doing.
Tim S
PS: I am not on the Code::Blocks team, but do submit patches from time to time.
Barking_Mad:
Thanks. Ive recently acquired the scintilla and SciTE sources and am in the process of learning the structure of these in an attempt to gain further insight into the codeblocks design for some ideas for improvements and patches i have.
So its generally safe to assume that essentially changes i make to scintilla 1.76 and test in SciTE will work/be compatible with codeblocks?
stahta01:
--- Quote from: Barking_Mad on October 06, 2008, 07:29:08 pm ---Thanks. Ive recently acquired the scintilla and SciTE sources and am in the process of learning the structure of these in an attempt to gain further insight into the codeblocks design for some ideas for improvements and patches i have.
So its generally safe to assume that essentially changes i make to scintilla 1.76 and test in SciTE will work/be compatible with codeblocks?
--- End quote ---
Yes, but they won't accept them at Code::Blocks. They update to the current scintilla about every six months or so.
So, to get you patches in Code::Blocks scintilla, submit your patches to scintilla. Note, they do accept patches to Code::Blocks to upgrade to the Current scintilla version. And, may accept back-ports from upstream scintilla to Code::Blocks scintilla.
Tim S
MortenMacFly:
--- Quote from: Barking_Mad on October 06, 2008, 07:29:08 pm ---So its generally safe to assume that essentially changes i make to scintilla 1.76 and test in SciTE will work/be compatible with codeblocks?
--- End quote ---
Yes. I am always using latest wxScintilla (including our modifications) and latest Scintilla sources (I just don't commit). So if your development is based on recent Scintilla it's fine with me.
Navigation
[0] Message Index
[#] Next page
Go to full version