Source |
Syntax highlighting source code editor. It is based on the fantastic
Scintilla editor by Neil Hodgson and wrapped for wxWindows as wxStyledTextCtrl by
Robin Dunn.
Basic supported functionality:
- Auto indent/dedent
- Block indent/dedent
- Block comment/uncomment
- Find text
- Limited code completion and parameter tips
- Folding
- Limited code browsing, hold down ctrl and move mouse cursor over source code
To run a Frame module without an extra derived wxApp module, select Edit->Add simple app...
while on the Source View.
This adds the following snippet to the end of the module:
if __name__ == '__main__':
app = wxPySimpleApp()
frame = create(None)
frame.Show(true)
app.MainLoop()
If the module contains a Boa created frame and it's default create function,
this code will let the module run on it's own.
|
Designer |
This is the GUI bulder view for the source.
The view is activated by clicking the
button |
Data |
The DataView shows the invisible design-time objects. These are objects
created from the 'Utilities' palette page. |
Explore |
This view show the list of classes and function defined in a module.
Exploding reveals methods and events.
Use this view for navigating quickly thru your code. |
Hierarchy |
The inheritance hierarchy of the objects in the model, color coded
as follows:
Cyan |
Class not defined in module |
Gray |
Base class |
Blue |
Derived class |
|
Documentation |
An html view on the doc strings in your code. The format
is structured around the wxWindows documentation look. |
UML |
OGL enabled view of all the classes and their inheritance
relationships. This view is not complete yet. |
Info |
View for creation and maintenance of the comment
block at the top of code identifying the author, licence etc. |
ToDo |
Displays a list of all comments in your code started
with # XXX or # TODO:.
Priority can be indicated by the number of exclamation marks at the end of
the line !!
Handy for reviewing what needs to be done and a jumppad for quick access. |
Application |
View on wxApp files for maintenance of an application. Add edit and
remove modules of the application thru this view. Click on the columns to sort by name, type or relative path.
Find will search all the modules defined in the App and return an Application find results view.
The Imports view can only be accessed from this view.
When Boa was run with the -T option (trace execution) this option will
built a traceback from the log file. If the stack balances out,
i.e. uninterrupted execution, the stack will be empty. As the trace file
may be quite big, please be patient while it is constructed. If you are not,
see ErrorStack.CrashTraceLogParser to limit the max depth or max number of
lines to parse.
Another way to add files to an application is to choose:
File->Add to an open application...
from an unadded module.
For convenience files can also be temporarily associated with application:
File->Associate with an open application...
This lasts as long as the IDE is open.
|
Imports |
Another OGL enabled view, this time showing the import relationships
between modules of an application.
i.e. who imports who. |
Package |
Shows all modules and other packages inside a package. |
Disassemble |
Shows the Python bytecode of the current module.
(Uses dis) |
CVS Conflicts |
Shows a list of all conflicts in a sourcecode file
that CVS marked after a CVS merge. |