The purpose is this piece of software is to allow the user to explore the properties and methods of the wxStyledTextCtrl Class. wxStyledTextCtrl is a great tool for displaying source code documents, but with over 600 methods, it's not always easy to figure out how to do a certain task. The method explorer groups those methods into categories and presents them in an interactive property grid. This way you can see the effects of calling various methods with different parameters in real time without having to recompile anything.
In addition, once you've gotten your StyledTextCtrl configured the way you want it, there's a code log that will present code can be used in your program (although you may have to change the name of the variable used):
In order to compile, a version of wxWidgets recent enough to include wxAui, wxPropertyGrid, and wxWebView is needed. I believe most versions since 2.9 should work.
I've written 3 pieces of documentation:
- An Introduction to Scintilla for wxStyledTextCtrl Programmers
- An Introduction to the Method Explorer
- An Introduction to the Event Explorer
In addition, to give some concrete examples of configuring the appearance and behavior of a wxStyledTextCtrl window, I've written a 3 part series on making the window look like the default appearance for notepad++.
No build files are supplied, but no special options are needed to build this tool. If you can build any other wxWidgets program, you should be able to build this. Simply compile each of the .cpp files and link them with your wxWidgets library.
This software makes use of the following:
- the wxStyledTextCtrl documentation is used in accordance with the terms of the wxwindows free documentation licence. See the files credits.txt and wxWidgets\licendoc.txt for more details.
- the Scintilla documentation and icons are used in accordance the Scintilla license. See the files credits.txt and scintilla\License.txt for more details.