Creating a code editor/IDE
What would be the fastest way to create some sort of basic code editor/IDE.
Ideally I am after a way to open files, edit them, etc... and later on add to this with windows where you could create check boxes (to toggle items and so on) which can then alter sections of the code (true/false).
Possible a bit vague what I am saying here.
In some aspects almost like a level editor.
Thanks in advance.
I recommend, assuming you want something for Windows.
If you want cross-platform capabilities (you seem not to, but for the sake of completeness…), I am not sure what to recommend as a code editor but a custom widget in Qt, while a lot of effort, would work.
L. Spiro
I would use wxWidgets. Mostly because it comes with an easy to use cross platform scintilla like API and an example using it. So I would use wxSTC with wxAUI with dynamic notebooks.
wxSTC handles a lot of the things you would need in a code editor have a look at:
http://wiki.wxwidgets.org/WxStyledTextCtrl
http://docs.wxwidgets.org/trunk/classwx_styled_text_ctrl.html
for features and the API.
How would somebody go about making a dynamic autocomplete functionality in a custom IDE using Scintilla? I can't find anything about this.
I've written script editors in Qt in the past and its pretty good. There is a wealth of example code, including a sample in the official Qt documentation, for things like syntax highlighting, showing line numbers, having a clickable gutter and so on.
Qt even has a QCompleter class which works within Qt's model-view architecture so very clean to use.
Scintilla is also excellent of course.
DoctorGlow thanks for the documentation, I was hoping I could find a live example of source code for an IDE that implements a dynamic auto-complete system preferably written in Scintilla, however I have had no luck on the search engines.
There are two projects that use wxWidgets \ scintilla for a code editor or IDE and they both have some form of auto-complete and snippets, they are also open source. They also show off plugin architecture and pretty much everything to do with getting your own IDE up.