[Patches] [ python-Patches-1529353 ] Squeezer - squeeze large output in the interpreter
SourceForge.net
noreply at sourceforge.net
Mon Feb 5 07:05:02 CET 2007
Patches item #1529353, was opened at 2006-07-26 20:13
Message generated for change (Comment added) made by kbk
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1529353&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: IDLE
Group: None
Status: Open
Resolution: None
Priority: 4
Private: No
Submitted By: Tal Einat (taleinat)
Assigned to: Nobody/Anonymous (nobody)
Summary: Squeezer - squeeze large output in the interpreter
Initial Comment:
Here is my improved version of Squeezer - the IDLE
extension to end all of your
oh-no-I-just-printed-War-and-Peace-in-the-interpreter
troubles!
Changes:
* Fixed line counting logic
* Line counting is done according to current window
width and current tab width
* Fixed configHandler to enable reading of raw data
from config files (100% backwards compatible) - needed
by Squeezer to enable configuration of text viewers in
config-extensions
I've been working this vesion without a hitch for
several weeks, but that's hardly enough testing is it?
Attached:
* the original Squeezer.py by Noam Raphael
* a diff against Noam's original Squeezer.py
* a diff of configHandler.py against the current SVN
version (revision 46863)
* fixed 'middle click to copy' - now works on Windows
One minor note - the 'middle click to copy' didn't work
on Windows because it simply called selection_own()
which doesn't affect the clipboard. I added
clipboard_clear() and clipboard_append() and it now
works on Windows. This should be tested on Linux, Unix,
OSX etc. to check compatibility.
For more info on the clipboard issue, see:
http://groups.google.com/group/comp.lang.python/browse_thread/thread/647feeef55625733/bc08421d8aea9928?lnk=st&q=&rnum=2#bc08421d8aea9928
----------------------------------------------------------------------
>Comment By: Kurt B. Kaiser (kbk)
Date: 2007-02-05 01:05
Message:
Logged In: YES
user_id=149084
Originator: NO
Delete the patch to configHandler.py, implemented with Patch 1650174.
----------------------------------------------------------------------
Comment By: Kurt B. Kaiser (kbk)
Date: 2006-07-30 10:20
Message:
Logged In: YES
user_id=149084
Ah, that's better. Thanks.
----------------------------------------------------------------------
Comment By: Tal Einat (taleinat)
Date: 2006-07-30 07:09
Message:
Logged In: YES
user_id=1330769
Uploaded unified diffs instead of standard diffs. Probably
the first diffs had bad newlines because I'm working on Win.
Also 2 changes:
* minor fix - end case when clicking at beginning of text block
* Allow squeezing of stderr (tracebacks...)
----------------------------------------------------------------------
Comment By: Kurt B. Kaiser (kbk)
Date: 2006-07-26 22:49
Message:
Logged In: YES
user_id=149084
OK, thanks. Please take a look at the two diffs you
uploaded, they seem corrupted. Squeezer.py looks ok.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1529353&group_id=5470
More information about the Patches
mailing list