IDEA-262135 lst: drop active trackers when file is no longer a text one
authorAleksey Pivovarov <AMPivovarov@gmail.com>
Sat, 4 Sep 2021 18:40:29 +0000 (21:40 +0300)
committerintellij-monorepo-bot <intellij-monorepo-bot-no-reply@jetbrains.com>
Fri, 10 Sep 2021 17:28:31 +0000 (17:28 +0000)
commit10930175007f4d5fa333a375b7d0c47336503f42
tree9b21f82fbd67158eb9ee72ab0629e704aa37f740
parent0f4a9e2c97e76b9f19536137269ee9711edbcf39
IDEA-262135 lst: drop active trackers when file is no longer a text one

This should fix duplicated tracker registrations in 'ChangeListWorker.registerChangeTracker',
when same file gets a tracker with 'old' and 'new' documents.
EA-259367 EA-256296

GitOrigin-RevId: 72c35623728018c1ceb5f6babd61e059a8374525
platform/platform-api/src/com/intellij/openapi/fileEditor/FileDocumentManagerListener.java
platform/platform-impl/src/com/intellij/openapi/fileEditor/impl/FileDocumentManagerImpl.java
platform/vcs-impl/resources/META-INF/VcsExtensions.xml
platform/vcs-impl/src/com/intellij/openapi/vcs/impl/LineStatusTrackerManager.kt