Home Download Buy Blog Forum Support

visible_region changes and searching

visible_region changes and searching

Postby jburnett on Wed Dec 14, 2011 1:34 am

Is it possible to see when a given view's visible_region changes?

Also, is it possible for view.find(...) to take an optional "toPosition" argument, to limit the extents being searched?

The gist of these two questions are for the word_highlight package, which tends to bog down on "large" files (multi-megabyte). If only the currently visible text was scanned, it could be a lot faster. I can imagine a couple ways of working around it, but having the above two abilities would make this a lot simpler.
Posts: 95
Joined: Wed Jul 27, 2011 9:23 pm

Return to Technical Support

Who is online

Users browsing this forum: Google [Bot] and 14 guests