Message30330
| Author |
mkiever |
| Recipients |
| Date |
2007年01月19日.20:50:46 |
| SpamBayes Score |
| Marked as misclassified |
| Message-id |
| In-reply-to |
| Content |
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 |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2007年08月23日 14:44:16 | admin | link | issue1581476 messages |
| 2007年08月23日 14:44:16 | admin | create |
|