Home Download Buy Blog Forum Support

view.find() backwards

view.find() backwards

Postby tripshock on Mon Jun 02, 2014 1:11 am

The View object has a find function to search forward from a point. How do I search backwards? I can think of a solution that involves searching backwards line by line, but it seems odd that the find() function does not have an option to specify direction, similar to find_by_class.

Sublime Text 3 3062.
tripshock
 
Posts: 7
Joined: Fri Aug 02, 2013 12:21 am

Re: view.find() backwards

Postby tito on Tue Jun 03, 2014 7:21 pm

Give APIs, let the community build the rest!
https://github.com/titoBouzout
tito
 
Posts: 855
Joined: Thu Sep 29, 2011 2:27 pm
Location: Montevideo, Uruguay


Return to Plugin Development

Who is online

Users browsing this forum: svenax and 5 guests