diff-preview: move escape handler setup to file editor constructor
authorDmitry Zhuravlev <dmitry.zhuravlev@jetbrains.com>
Thu, 29 Apr 2021 11:46:26 +0000 (14:46 +0300)
committerintellij-monorepo-bot <intellij-monorepo-bot-no-reply@jetbrains.com>
Fri, 30 Apr 2021 11:29:44 +0000 (11:29 +0000)
commit70a13ff1cad56d2f796e6ee48172d4aedd2d1a71
treef9894b736f4a363fd4093bb017bd946fc6aad22e
parent5220844eafe664d42b360dc597d411068be0f7be
diff-preview: move escape handler setup to file editor constructor

Since moving editor tab to a new window frame trigger recreation of the file editor, therefore all escape handlers will be lost.

GitOrigin-RevId: a6191525715cae6d3fd2819fdfc9e659f2ef08d7
platform/diff-impl/src/com/intellij/diff/editor/DiffRequestProcessorEditor.kt
platform/diff-impl/src/com/intellij/diff/editor/DiffVirtualFile.kt
platform/vcs-impl/src/com/intellij/openapi/vcs/changes/EditorTabPreview.kt
platform/vcs-log/impl/src/com/intellij/vcs/log/ui/frame/VcsLogDiffPreview.kt