Message30330
Same behaviour on Linux and current Python trunk.
In addition I get an IndexError, if I delete the
last character of the search string.
Does Tk allow calling search with an empty pattern?
Tkinter could handle this (with a correct result)
with the following change in Tkinter.py / Text.search():
if pattern[0] == '-': args.append('--')
->
if pattern and pattern[0] == '-': args.append('--')
Greetings,
Matthias Kievernagel |
|
Date |
User |
Action |
Args |
2007-08-23 14:44:16 | admin | link | issue1581476 messages |
2007-08-23 14:44:16 | admin | create | |
|