Message193740
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. |
|
Date |
User |
Action |
Args |
2013-07-26 20:35:42 | JayKrish | set | recipients:
+ JayKrish, terry.reedy, Todd.Rovito, philwebster |
2013-07-26 20:35:42 | JayKrish | set | messageid: <1374870942.49.0.774376699106.issue18504@psf.upfronthosting.co.za> |
2013-07-26 20:35:42 | JayKrish | link | issue18504 messages |
2013-07-26 20:35:42 | JayKrish | create | |
|