2007-05-14 21:31:56 UTC
Hello
After I push Goto button in the findfiles (ALT+F7) then the cursor jump to a wrong file.
In FilePanelMediator.java/highlightFoundFiles function:
I changed the line:
fileControl.setCurrentSelection(newSelectionIndex);
to:
fileControl.setCurrentSelection(fileControl.getModel().getIndexOf(currentlySelectedFile));
Then its work.
And need update after change a directory:
In FilePanelMediator.java/highlightFoundFiles function:
if(!fileControl.getModel().getCurrentParent().equals(newParent)) {
changeDirectory(newParent);
}
to
if(!fileControl.getModel().getCurrentParent().equals(newParent)) {
changeDirectory(newParent);
fileControl.getModel().update();
}
I donnot know the update is correct.
bye