FileEditorManager.getSelectedEditor() is gone, now what?
I understand that getSelectedEditor() wants a VirtualFile and that I can call getSelectedFiles() to get all the selected files to pass to getSelectedEditor. However, I just want to get whatever editor currently has the caret/focus. Is there now no way to accomplish this?
请先登录再写评论。
Ah, the method is now called getSelectedTextEditor(). I should have looked harder.