[status bar] simplify getCurrentTextEditor method
authorAlexander Zolotov <zolotov@jetbrains.com>
Mon, 10 Aug 2020 09:13:27 +0000 (12:13 +0300)
committerintellij-monorepo-bot <intellij-monorepo-bot-no-reply@jetbrains.com>
Tue, 11 Aug 2020 13:56:28 +0000 (13:56 +0000)
commitcf304618849be1074d0184c57caf4c6e7c69f803
tree1bda3653f7b391b4d601375bc2f66a461d88772f
parent74697be98db8d13bde459df3d20372957e039af3
[status bar] simplify getCurrentTextEditor method

Looks like getSelectedTextEditor does the same thing as getCurrentFileEditor with filtering by `TextEditor` class

GitOrigin-RevId: df591c5810d6e0e0f2e47445b9d7a327948aa4e4
platform/platform-impl/src/com/intellij/openapi/wm/impl/status/StatusBarUtil.java