[issue18504] IDLE:Improvements- Improving Mock_Text

2017-06-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- components: +IDLE versions: +Python 3.6, Python 3.7 -Python 2.7, Python 3.3, Python 3.4 ___ Python tracker ___

[issue18504] IDLE:Improvements- Improving Mock_Text

2014-06-01 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: This patch tries to enable mock_Tk.Text._decode to handle the following patterns insert linestart insert lineend insert wordstart insert wordend insert +x chars insert -x chars These additions are required for testing AutoExpand and are written keeping the

[issue18504] IDLE:Improvements- Improving Mock_Text

2013-08-10 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti stage: test needed -> patch review ___ Python tracker ___ ___ Python-bugs-list mailin

[issue18504] IDLE:Improvements- Improving Mock_Text

2013-07-26 Thread R. Jayakrishnan
R. Jayakrishnan added the comment: Yes,correcting myself. I should aim indexes which actual idlelib uses. Thank you Terry for the grammar. Fighting with the index parsing last week, and finally came up with a level to break the index into base and modifier and decode it along with using regula

[issue18504] IDLE:Improvements- Improving Mock_Text

2013-07-22 Thread R. Jayakrishnan
Changes by R. Jayakrishnan : -- nosy: +Todd.Rovito ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue18504] IDLE:Improvements- Improving Mock_Text

2013-07-22 Thread Phil Webster
Changes by Phil Webster : -- nosy: +philwebster ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

[issue18504] IDLE:Improvements- Improving Mock_Text

2013-07-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: Further changes should be aimed at actual idlelib uses. Wordstart and wordend are used once each in AutoExpand.py (and wordstart a couple of times for tag.start positions). So forget them. Does idlelib really have indexes like "2.3 + 1c" ('2.4'), "2.3-1c" ('2.

[issue18504] IDLE:Improvements- Improving Mock_Text

2013-07-19 Thread R. Jayakrishnan
Changes by R. Jayakrishnan : Added file: http://bugs.python.org/file30980/decodeTest.py ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue18504] IDLE:Improvements- Improving Mock_Text

2013-07-19 Thread R. Jayakrishnan
Changes by R. Jayakrishnan : Removed file: http://bugs.python.org/file30978/decodeTest.py ___ Python tracker ___ ___ Python-bugs-list mailing

[issue18504] IDLE:Improvements- Improving Mock_Text

2013-07-19 Thread R. Jayakrishnan
Changes by R. Jayakrishnan : Added file: http://bugs.python.org/file30979/decodeChecklist.txt ___ Python tracker ___ ___ Python-bugs-list mail

[issue18504] IDLE:Improvements- Improving Mock_Text

2013-07-19 Thread R. Jayakrishnan
New submission from R. Jayakrishnan: Following the Idle: mock Text class and test thereof created #18365 I am trying to improve the _decode function because most of the Idletests needs the mock text and requires some more features to handle indexes. Started improving the mockText _decode method