[issue4630] IDLE no longer respects .Xdefaults insertOffTime
Mark Summerfield
report at bugs.python.org
Tue Mar 24 07:58:58 CET 2009
Mark Summerfield <mark at qtrac.eu> added the comment:
Py2.6: idlelib/EditorWindow.py
change line 110 from: width=self.width,
to: width=self.width, insertofftime=0,
Py3.0
apply the same change to line 112
This will switch off cursor blink (and annoy people who want cursor
blink). So really instead of setting it to 0 you should set it to a
variable. On Windows the Win32 API has a function you can call to find
out the user's preferred blink rate and you can use that. On Mac OS X
there's no such thing so you would need to add an option to IDLE's
configuration dialog. On Linux the .Xdefaults file should be read and
*insertOffTime respected. But since for Mac you have to add it to the
configuration dialog, it might just be easier to just do that for all
platform a simple [ ] blinking cursor check box would suffice.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4630>
_______________________________________
More information about the Python-bugs-list
mailing list