* @return false if results were not found
*/
public boolean scrollToPosition(SearchResults results, boolean redrawOverview) {
* @return false if results were not found
*/
public boolean scrollToPosition(SearchResults results, boolean redrawOverview) {
// TODO: properly locate search results in view when large numbers of hidden columns exist before highlighted region
// do we need to scroll the panel?
// TODO: tons of nullpointereexceptions raised here.
// TODO: properly locate search results in view when large numbers of hidden columns exist before highlighted region
// do we need to scroll the panel?
// TODO: tons of nullpointereexceptions raised here.
SequenceI seq = av.alignment.getSequenceAt(seqIndex);
int [] r = results.getResults(seq, 0, av.alignment.getWidth()); // results.getResults(seq, seq.getStart(), seq.getEnd());
SequenceI seq = av.alignment.getSequenceAt(seqIndex);
int [] r = results.getResults(seq, 0, av.alignment.getWidth()); // results.getResults(seq, seq.getStart(), seq.getEnd());