It is a very useful change and works like a charm. Conguratulations...
Hello Murat,
thank you very much!
I want to suggest a small improvement though. There should be a screen
clear feature for the shell. It would be very useful when the screen
gets clobbered with too much history.
Yes, good Idea, would you like to contribute?
Thanks for the change again.
Regards,
Murat Ozsoyler
[...]
because of the few thing, one find about PyCrust (also in google), I
suspect, this great program is a little underrated.
I could imagine an option dialog, to set all the default values off or
on:
- wrap lines, show magic attributes, ... (or save them automatically on
program exit, as mentioned below).
- Menu Shortcuts for all options (example wrap lines ctrl-w or so).
- help is only available, if you type shell.help(), which is not
exactly intuitive.
I would prefer in Help => key bindings and this should call help.
- startup script (every time, I start Pycrust, the first command is
import wx)
- get command history shown in a listbox and select one item.
- delete command history
- open/save command history file.
(because of completeness, Robin Dunn wrote also):
"""
Almost perfect. If anybody has some time to dig into the Py code I
would love to have a patch for the following additions:
1. Save some things about the Py apps in a wx.Config when shutting down
and then restore them on startup. Things like the position and size of
the frame, sash positions in PyCrust, the status of the items on the
Options menu, etc. This probably only makes sense to be done
automatically from the Apps, and not when embedding, so maybe the
varioius Frame classes can take additional parameters (config object and
the path to read entries from) that default to None. Be careful when
saving the size and position of the frame, if it is iconized then the
values will probably be garbage, so you will probably want to catch the
iconize event and remember the size/position then in case the user
closes the app while it is iconized.
2. When the Crust window is resized it would be nice if the size of the
bottom remained constant and the top is the one that stretched. The
main part of the demo shows one way to do this, although it uses a fixed
size and can be a little jumpy at times.
"""
- option: save settings (from the options) automatically or not.
- save window layout (I think, this is better than always automatically
save the last layout;
it saves it, if you don't want that; or option: don't save (and here you
can manually save it), save automatically.
- get default window layout
I would prefer write this settings in a config file rather than to the
registry.
(I hate entries in the registry and to control/correct/edit, it is much
more better to have an config
file, preferrable in the directory of pycrust itself; my opinion)
...
not to exxagerate
I would also recommend to try out DrPython. It has also Code
completition/ Call Tips in the prompt
and some additional interesting features.
regards
···
On Tue, 12 Jul 2005 22:40:19 +0300, MURADI OZSOYLER <murat.ozsoyler@isnet.net.tr> wrote:
--
Franz Steinhaeusler