further amendment of "updated" edge (cf. 6ed49c52d463) -- required for repainting of unassigned command, e.g. for inactive buffe;
authorwenzelm
Mon, 19 Mar 2012 15:56:27 +0100
changeset 47013 95bd95addb24
parent 47012 0e246130486b
child 47014 e203b7d7e08d
further amendment of "updated" edge (cf. 6ed49c52d463) -- required for repainting of unassigned command, e.g. for inactive buffe;
src/Tools/jEdit/src/document_view.scala
--- a/src/Tools/jEdit/src/document_view.scala	Mon Mar 19 14:59:31 2012 +0100
+++ b/src/Tools/jEdit/src/document_view.scala	Mon Mar 19 15:56:27 2012 +0100
@@ -154,8 +154,8 @@
   {
     Swing_Thread.require()
     val snapshot = model.snapshot()
-    was_updated = was_outdated && !snapshot.is_outdated
-    was_outdated = was_outdated || snapshot.is_outdated
+    was_updated &&= !snapshot.is_outdated
+    was_outdated ||= snapshot.is_outdated
     snapshot
   }