Some of that looks good, but I'm very short on time at the moment.
Could you please split this into 2 patches (one for the debugging
changes, one for the rest) and upload them to sourceforge?
Thanks,
Mark
Robert wrote:
Mark Hammond wrote:
Robert wrote:
want to put new functions (short python code) on keys like F1, F12,
Ctrl-F1 and other keys.
Is there a mechanism/recipe ?
Look for the *.cfg files in the pythonwin directory.
Thanks.
maybe some of the following stuff is useful for somebody, or for future
PythonWin default:
In attachment a patch for pywin/default.cfg, which does context (word)
sensitive help from editor into Python Help and PythonWin Help
F1 = HelpPy
Ctrl+F1 = HelpPyWin
..
and allows for faster edit-run cycle: running/interacting with
(auto-unindented) selected code lines from editor
Ctrl+K = Interact_SelectedLines
Ctrl+E = ExecGlobal_SelectedLines
( the little patch of scintilla/config.py enables correct line numbers
for traceback and debugging of code in default.cfg )
-
Also CtrlEnter.patch (-> framework/interact.py), which enables ad-hoc
debugging from interactive pane (Ctrl-Enter) into an interactive
statement (without long-winded F5 running into breakpoints etc). I did
not put the code into default.cfg, because a lot of pre-processing code
is shared with normal interactive statement execution.
Robert
------------------------------------------------------------------------
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32