This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mlwtc
Recipients mlwtc
Date 2020-02-02.05:22:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1580620958.57.0.556548292097.issue39526@roundup.psfhosted.org>
In-reply-to
Content
>>> from tkinter import *
>>> root = Tk()
>>> text1 = Text(root,width=30,height=3)
>>> text1.insert(INSERT,'abcdefghijklmnopqrstuvwxyz123456789123456789')
>>> print(text1.get(1.0,1.30))
abc
>>> print(text1.get(1.0,1.31))
abcdefghijklmnopqrstuvwxyz12345
>>> print(text1.get(1.0,1.20))
ab
>>> print(text1.get(1.0,1.21))
abcdefghijklmnopqrstu
>>> print(text1.get(1.0,1.10))
a
>>> print(text1.get(1.0,1.11))
abcdefghijk
>>> print(text1.get(1.0,1.9))
abcdefghi
  

   Is there a bug here?
History
Date User Action Args
2020-02-02 05:22:38mlwtcsetrecipients: + mlwtc
2020-02-02 05:22:38mlwtcsetmessageid: <1580620958.57.0.556548292097.issue39526@roundup.psfhosted.org>
2020-02-02 05:22:38mlwtclinkissue39526 messages
2020-02-02 05:22:38mlwtccreate