To reproduce:
1) open a python file that contains multiple TODO comments
2) open the TODO window/view for the file
3) click on the "Line #' or 'Urgency' header to sort
the list
(make sure the sort order changes)
4) double-click on one of the lines whose position in
the list changed
5) This will take you back to the source window, but to
the incorrect TODO.
I've tracked this down to the value of
"Views.EditorViews.ListCtrlView.selected." As the list
gets re-sorted the value of "selected" changes. So for
a given todo item, the index for the VIEW
("ListCtrlView") changes but the index for the MODEL
("moduleparse.Module.todos") doesn't.
This bug may impact other views too, but I'm a newb so
and not very familiar with BOA.