[issue2062] IDLE - autocompletion logic optimization

2008-02-10 Thread Tal Einat
Tal Einat added the comment: Found two more instances in the code where a similar improvement can be made. This (second) version of the patch is more consistent, please use it instead of the initial version. Added file: http://bugs.python.org/file9403

[issue2053] IDLE - standardize dialogs

2008-02-09 Thread Tal Einat
Tal Einat added the comment: Going through the code more thoroughly, found additional places where the standardized dialogs should be used. Also fixed remaining places where these dialogs are used but the parent widget was still being explicitly set to be the text widget, which is now

[issue2050] IDLE - make ScriptBinding event handlers return 'break'

2008-02-08 Thread Tal Einat
New submission from Tal Einat: Event handlers in ScriptBinding.py were not returning 'break', although they should have been. -- components: IDLE files: IDLE_ScriptBinding.080208.patch messages: 62196 nosy: kbk, taleinat severity: minor status: open title: IDLE - make ScriptBinding

[issue2049] IDLE - Restart Shell Run Module

2008-02-08 Thread Tal Einat
New submission from Tal Einat: When IDLE is run with a subprocess, add a 'Restart Shell Run Module' item to the 'Run' menu in editor windows. Also add Alt-F5 as a hotkey for this item. This is what the 'Run Module' (F5) item used to do (when there was a subprocess). As of this patch 'Run

[issue2053] IDLE - standardize dialogs

2008-02-08 Thread Tal Einat
New submission from Tal Einat: In many places in the code, tkMessageBox dialogs were being used directly, with the master (parent) widget being set explicitly to the EditorWindow's text widget. Only in some cases was the focus being set to the text widget afterwards, although in most

[issue2053] IDLE - standardize dialogs

2008-02-08 Thread Tal Einat
Tal Einat added the comment: Bah, the initial version contained a silly bug in EditorWindow.goto_line_event. Please remove it, and use this version instead. Added file: http://bugs.python.org/file9395/IDLE_standardize_dialogs.080209.patch __ Tracker [EMAIL

[issue1607] Patch for TCL 8.5 support

2007-12-28 Thread Tal Einat
Tal Einat added the comment: I say close it, but start a discussion on switching to Tcl/Tk8.5 on the appropriate list(s). __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1607

[issue1350] IDLE - CallTips enhancement - show full doc-string in new window

2007-12-27 Thread Tal Einat
Tal Einat added the comment: I had a working version which also used inspect before I saw your 3.0 version, but they both use inspect similarly, very straightforward. I seem to recall only one of the version used inspect to get the doc string, but I don't remember which one... Depending on how

[issue1350] IDLE - CallTips enhancement - show full doc-string in new window

2007-12-14 Thread Tal Einat
Tal Einat added the comment: Alrighty then! Since I had also done some work on CallTips.py since the previous patch, I've worked up a merged version, including stuff from the py3k version and better tests. Changes since the first patch: * add support for callable instances (e.g. __call__

[issue1350] IDLE - CallTips enhancement - show full doc-string in new window

2007-12-14 Thread Tal Einat
Changes by Tal Einat: Added file: http://bugs.python.org/file8958/IDLE_CallTips.071214.incremental.patch __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1350 __ ___ Python-bugs

[issue1350] IDLE - CallTips enhancement - show full doc-string in new window

2007-12-14 Thread Tal Einat
Tal Einat added the comment: Now for CallTipWindow.py: * split conditionals into two lines as requested * changed the test (took me a while to understand what controversy you were referring to...) I couldn't find anything wrong with the first line. It is the function/method signature

[issue1350] IDLE - CallTips enhancement - show full doc-string in new window

2007-12-14 Thread Tal Einat
Changes by Tal Einat: Added file: http://bugs.python.org/file8960/IDLE_CallTips.071214.incremental.patch __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1350 __ ___ Python-bugs

[issue1350] IDLE - CallTips enhancement - show full doc-string in new window

2007-12-14 Thread Tal Einat
Tal Einat added the comment: (bah, sorry for the mess, use the patch files from the later hour) __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1350 __ ___ Python-bugs-list

[issue1607] Patch for TCL 8.5 support

2007-12-14 Thread Tal Einat
Changes by Tal Einat: -- nosy: +taleinat __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1607 __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue1350] IDLE - CallTips enhancement - show full doc-string in new window

2007-12-13 Thread Tal Einat
Tal Einat added the comment: Yes, I admit I haven't tested this very thoroughly. I'll give this some more time this weekend and submit another patch. As for 3.0, I'll have to see what you've changed, but I'll gladly work up a patch based on the newer version

[issue1705362] cannot change cursor color in IDLE

2007-11-19 Thread Tal Einat
Tal Einat added the comment: Fixed in patch 1725576. -- title: cannot change cursor color in IDLE - cannot change cursor color in IDLE _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1705362

[issue1457] IDLE - configDialog - new layout for key config

2007-11-18 Thread Tal Einat
New submission from Tal Einat: As brought up on the idle-dev mailing list, I have redesigned the key config window. The new layout is two wide frames one above the other, instead of two tall frames side-by-side. This allows the key-binding entries to be completely visible in the listbox

[issue1374] IDLE - minor FormatParagraph bug fix

2007-11-02 Thread Tal Einat
New submission from Tal Einat: The format_paragraph_event method was not returning break, causing unwanted side effects when called via a key binding. -- components: IDLE files: IDLE_FormatParagraph.071102.patch messages: 57060 nosy: kbk, taleinat severity: normal status: open title

[issue1612746] Enhanced tabbed pane widget

2007-11-01 Thread Tal Einat
Tal Einat added the comment: Updated patch as requested. Most of the changes are cosmetic, except one minor bug (kw - **kw). I added a few comments and doc-strings as well. Consider removing tabpage.py, which is no longer used... Added file: http://bugs.python.org/file8671/IDLE_tabbedpages

[issue1612746] Enhanced tabbed pane widget

2007-10-29 Thread Tal Einat
Tal Einat added the comment: Update, as requested. After the recent configDialog.py changes, very little changes to it are required. I've included a much updated version of tabbedPages.py in this patch. Since posting the original patch, I've discovered and fixed a few bugs, implemented a 3d

[issue1612746] Enhanced tabbed pane widget

2007-10-29 Thread Tal Einat
Tal Einat added the comment: Bah, sorry, included wrong version of tabbedPages.py in the previous patch. (differences are very minor, just some code cleanup and one very minor bug) Added file: http://bugs.python.org/file8653/IDLE_tabbedPages.071029.patch

[issue1252] IDLE - patch Delegator to support callables

2007-10-29 Thread Tal Einat
Tal Einat added the comment: I'm trying to keep this as simple as possible, because it seems we're tending to over-complicate. We're discussing two distinct issues: 1) Should Delegator delegate calls to callables 2) Should Percolator inherit from Delegator Have I missed something? Regarding

[issue1717170] Really print? Dialog

2007-10-28 Thread Tal Einat
Tal Einat added the comment: :) Minor note - shouldn't there be a question mark at the end of the message? _ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1717170

[issue1334] IDLE - Fix several highlighting bugs

2007-10-27 Thread Tal Einat
Tal Einat added the comment: The first patch contained a bug - a window opened using the New Window menu option would not be colorized. This patch removes the assumption that EditorWindow.ResetColorizer will be called by IOBinding code, by calling ResetColorizer during __init__ anyways

[issue1350] IDLE - CallTips enhancement - show full doc-string in new window

2007-10-27 Thread Tal Einat
New submission from Tal Einat: This (relatively speaking) simple patch allows the full doc-string of a callable to be displayed in a textView window. Once a call-tip is being displayed, hitting one of the keys which is bound to the force-open-calltip virtual event (Control-backslash by default

[issue1334] IDLE - Fix several highlighting bugs

2007-10-26 Thread Tal Einat
New submission from Tal Einat: This patch fixes the following bugs: * Configured selection highlighting colors were ignored * Updating highlighting in the config dialog would cause non-Python files to be colored as if they were Python source Additionally, adding and removing

[issue1252] IDLE - patch Delegator to support callables

2007-10-25 Thread Tal Einat
Tal Einat added the comment: I understand your argument, but am not convinced. I'll try to explain how I see this and how I came to this view. I wished to wrap a specific method (or function) instead of wrapping the father object with a Delegator and implementing a single method. But I needed

[issue1130] Idle - Save (buffer) - closes IDLE and does not save file (Windows XP)

2007-10-09 Thread Tal Einat
Tal Einat added the comment: Your solution is better than my suggestion, but has two minor bugs: 1) eol_convention must be initialized somewhere. For instance, opening a new editor window (Ctrl+N) and saving it fails because self.eol_convention is not defined. I agree that is shouldn't

[issue1252] IDLE - patch Delegator to support callables

2007-10-09 Thread Tal Einat
New submission from Tal Einat: Add an __call__ magic method to Delegator so that it can delegate to callables. This will raise the required exception if the delegate isn't callable. The built-in callable() method will now return True for any Delegator. Before this patch it always returns False

[issue1253] IDLE - Percolator overhaul

2007-10-09 Thread Tal Einat
New submission from Tal Einat: The Percolator class has been very hard to figure out, and has been a source of confusion for users wanting to hack IDLE. This patch makes Percolator a generally useful class which inherits from Delegator. It also adds a new class, TkTextPercolator, which inherits

[issue1225] IDLE - Fix: pressing Ctrl+C while printing exception - stuck

2007-10-01 Thread Tal Einat
New submission from Tal Einat: Patch run.py, adding a global 'interruptable' flag which is set only when executing code. This avoids interrupting the main thread while it is printing an exception, which would cause IDLE to freeze up. Reworked patch from IDLE-Spoon. -- components: IDLE

[issue1130] Idle - Save (buffer) - closes IDLE and does not save file (Windows XP)

2007-09-23 Thread Tal Einat
New submission from Tal Einat: The saving bug is a string/bytes issue, simply fixed by replaced line 366 in Lib\idlelib\IOBinding.py with: chars = chars.replace(b\n, self.eol_convention.encode('ASCII')) -- nosy: +taleinat __ Tracker [EMAIL PROTECTED

[issue1178] IDLE - add paste code functionality

2007-09-18 Thread Tal Einat
New submission from Tal Einat: Patch adding a 'Paste Code' item to the 'Edit' menu, as well as hotkeys. Using 'Paste Code' instead of the normal paste will remove prompts (' ' or '... ') from the code, and also remove empty lines if pasting to a shell window. This allows easily copy/pasting

<    10   11   12   13   14   15