Sublime Forum

View.text_point

#1

View.text_point(row,col) seems to find the text point of row and then add col to it. If the length of the specified row is less than col, it looks like text_point will return a point on the next row. Would it be possible to add bounds-checking so that view.text_point won’t overflow the row?
Thanks!

0 Likes