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 JayKrish
Recipients JayKrish, Todd.Rovito, philwebster, terry.reedy
Date 2013-07-26.20:35:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1374870942.49.0.774376699106.issue18504@psf.upfronthosting.co.za>
In-reply-to
Content
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 regular expressions.
Now the mock_tk attached at this patch passes all the existing test cases, and failing the new test I have written on text_test

The problem now I am dealing with is, there are four exceeding conditions I have to handle which make errors.
1.returning line  < 0
2.returning line  > last line
3.returning char  < 0 
4.returning char > its line length

For example, in parsing base the return line may exceed last line but the modifier will say '-2lines'  doing that, now the return line is not exceeding last line.
History
Date User Action Args
2013-07-26 20:35:42JayKrishsetrecipients: + JayKrish, terry.reedy, Todd.Rovito, philwebster
2013-07-26 20:35:42JayKrishsetmessageid: <1374870942.49.0.774376699106.issue18504@psf.upfronthosting.co.za>
2013-07-26 20:35:42JayKrishlinkissue18504 messages
2013-07-26 20:35:42JayKrishcreate