[Pythonmac-SIG] PyAdvancedEditor.py update
Joseph J. Strout
joe@strout.net
Fri, 1 Oct 1999 08:51:39 -0700
Hi all,
I've updated PyAdvancedEditor. It now sports the following
additional features:
Better Chunking: The standard WASTE word-finding function isn't very
appropriate for Python code; it breaks on underscores, doesn't break
on periods, etc. AdvancedEditor gives you more Python-savvy chunks of
text when you double-click. In addition, you can double-click a
grouping character (a parenthesis, square bracket, curly brace, or
quotation mark) to select the entire range delimited by that
character. Note that the finding of quoted strings may not work
correctly when triple-quoted strings are involved.
Option Click -- Function Look-up: This feature looks up the function
or class name you option-click on, without moving the cursor.
Command Click -- Insert Chunk: When you command-click, the chunk of
text at the location clicked is copied to the current cursor
location. It's equivalent to double-clicking, doing a Copy, putting
the cursor back to its previous location, and Paste (except that the
clipboard is not modified). Because it uses the same chunking
algorithm as double-clicking, this works nicely with grouping
characters (like parentheses) too.
To get these, all you need to do is download
PyAdvancedEditor.py, fix the line endings, drop it in the
Mac:Tools:IDE folder, and run BuildIDE.py. You do NOT need to
reapply any patches.
Cheers,
-- Joe
,------------------------------------------------------------------.
| Joseph J. Strout Biocomputing -- The Salk Institute |
| joe@strout.net http://www.strout.net |
`------------------------------------------------------------------'