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
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
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
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
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
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
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
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
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__
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
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
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
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
Changes by Tal Einat:
--
nosy: +taleinat
__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1607
__
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
1401 - 1433 of 1433 matches
Mail list logo