diff options
author | Guido van Rossum <guido@python.org> | 2000-03-07 16:25:11 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2000-03-07 16:25:11 (GMT) |
commit | ba23bed340bab31b8c233f27acb181516f9de60c (patch) | |
tree | 867b060e2d817e3f6897d2ff74c79006df2152b5 /Parser | |
parent | 9611e0b4620988310c15122e3d14deadb2efbb35 (diff) | |
download | cpython-ba23bed340bab31b8c233f27acb181516f9de60c.zip cpython-ba23bed340bab31b8c233f27acb181516f9de60c.tar.gz cpython-ba23bed340bab31b8c233f27acb181516f9de60c.tar.bz2 |
Tweak the goto file/line command (in the right button menu in PyShell
and output windows) so that it if it doesn't succeed with the line
at the cursor, it tries the line before that. This is handy with
tracebacks, where my natural tendency is to click in the displayed
source line rather than in the file/line indicator just above it.
Now I can indulge this tendency.
I factored out a helper and changed the error handling so that a
non-existing file is treated as if the line didn't match -- this is
handy because some function calls (e.g. "foo.bar(1)") match the grep
pattern.
Diffstat (limited to 'Parser')
0 files changed, 0 insertions, 0 deletions