mansrz / pymt

Automatically exported from code.google.com/p/pymt
0 stars 0 forks source link

Incorrect type returned from cursor positioning in MTTextarea #332

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The calculation of "line" in "line_at_pos" could return a float instead of an 
integer which would cause problems for code wanting to use the line index as an 
index into a Python list. The entire calculation needs to be converted with 
int().

Original issue reported on code.google.com by jgoss...@gmail.com on 24 Aug 2010 at 11:43

GoogleCodeExporter commented 9 years ago
Merged, thanks again, it's really appreciated :)

Original comment by txprog on 24 Aug 2010 at 12:15