[Tkinter-discuss] A "Fixed" Tk Text widget
ron.longo at cox.net
Mon Apr 14 00:28:27 CEST 2008
I have just completed and uploaded to the Tkinter wiki a "Fixed" version of the Tk Text widget called EnhancedText. This new widget (subclassed from Text) is intended to fix some of the quirks of the Text widget involving cursor movement. Namely, in Text, the cursor moves by paragraph rather than display-line when using the Up and Down arrow keys and it jumps to the beginning and end of a paragraph when using the 'Home' and 'End' keys.
EnhancedText rewrites all the event handling of the Text widget. With EnhancedText, Up, Down, Home and End now move according to display lines rather than Paragraphs.
This widget can be found here http://tkinter.unpythonic.net/wiki/EnhancedText.
Thanks for any comments, bug reports, etc.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Tkinter-discuss