Use Editor.getSelectedBufferRange() when find references.