Home Download Buy Blog Forum Support

[BUG] Sublime Text 3 - view.find

[BUG] Sublime Text 3 - view.find

Postby subhaze on Fri May 24, 2013 11:07 pm

In ST3 when view.find doesn't find anything it will return (-1, -1) instead of None.

From the API Reference:

Returns the first Region matching the regex pattern, starting from the given point, or None if it can't be found.
subhaze
 
Posts: 206
Joined: Tue Apr 09, 2013 3:22 am

Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot], Google [Bot] and 49 guests