Weeble wrote:
> I'm trying to fix some code in Python's IDLE editor that broke
> with Tk 8.5. It depended on being able to find the "anchor" tag on a
> text widget in order to keep the text selection working while
> providing custom behaviour for the home key: the first press should
> send the cursor to the first non-whitespace character on the line, and
> subsequent presses should toggle between that position and the
> absolute start of the line.
> [...] I don't think reimplementing the
> entire text selection system is a viable option.
Well, maybe it is... but someone else already did it for you. Have a look at the ntext package in tklib, discussed on