Fixes #3: Use Editor.getSelectedBufferRange() when find references.