IDEA-81600 PyCharm 2.0.2 appears to save files whenever changes occur even when auto...
authorKirill Likhodedov <Kirill.Likhodedov@jetbrains.com>
Sat, 11 Aug 2012 12:55:25 +0000 (16:55 +0400)
committerKirill Likhodedov <Kirill.Likhodedov@jetbrains.com>
Sat, 11 Aug 2012 12:55:25 +0000 (16:55 +0400)
No need to save on manual change revert. File status is refreshed correctly without it.

platform/vcs-impl/src/com/intellij/openapi/vcs/ex/LineStatusTracker.java

index a9ef16c50e681786aef4e0ce5bedb08fc8a11da9..c343231cb3dde6099b99b1fc572ad9da2018ee1d 100644 (file)
@@ -397,7 +397,6 @@ public class LineStatusTracker {
               SwingUtilities.invokeLater(new Runnable() {
                 @Override
                 public void run() {
-                  FileDocumentManager.getInstance().saveDocument(e.getDocument());
                   boolean[] stillEmpty = new boolean[1];
                   synchronized (myLock) {
                     stillEmpty[0] = myRanges.isEmpty();