remove unnecessary call to EditorManager.getFocusedEditor()
remove unused var
Merge pull request #9985 from adobe/randy/9972-urlhints

Remove unnecessary call to EditorManager.getFocusedEditor()