proper use of var stopped;
authorwenzelm
Sat, 08 May 2010 21:25:25 +0200
changeset 36762 40837a7b32a7
parent 36761 c8ae87ce6e4d
child 36763 096ebe74aeaf
child 36771 3e08b6789e66
proper use of var stopped;
src/Tools/jEdit/src/jedit/isabelle_sidekick.scala
--- a/src/Tools/jEdit/src/jedit/isabelle_sidekick.scala	Sat May 08 21:17:42 2010 +0200
+++ b/src/Tools/jEdit/src/jedit/isabelle_sidekick.scala	Sat May 08 21:25:25 2010 +0200
@@ -98,7 +98,7 @@
     val document = model.recent_document()
     for {
       (command, command_start) <- document.command_range(0)
-      if command.is_command && !is_stopped()
+      if command.is_command && !stopped
     }
     {
       val name = command.name
@@ -129,7 +129,7 @@
 
     val root = data.root
     val document = model.recent_document()
-    for ((command, command_start) <- document.command_range(0) if !is_stopped()) {
+    for ((command, command_start) <- document.command_range(0) if !stopped) {
       root.add(document.current_state(command).get.markup_root.swing_tree((node: Markup_Node) =>
           {
             val content = Pretty.str_of(List(XML.Text(command.source(node.start, node.stop))))