src/Tools/jEdit/src/simplifier_trace_dockable.scala
changeset 65195 ffab6f460a82
parent 60748 6d718fda8215
child 65246 848965b5befc
equal deleted inserted replaced
65194:6dabae94cf57 65195:ffab6f460a82
    85       PIDE.editor.current_node_snapshot(view) match {
    85       PIDE.editor.current_node_snapshot(view) match {
    86         case Some(snapshot) =>
    86         case Some(snapshot) =>
    87           if (follow && !snapshot.is_outdated) {
    87           if (follow && !snapshot.is_outdated) {
    88             PIDE.editor.current_command(view, snapshot) match {
    88             PIDE.editor.current_command(view, snapshot) match {
    89               case Some(cmd) =>
    89               case Some(cmd) =>
    90                 (snapshot, cmd, snapshot.state.command_results(snapshot.version, cmd), cmd.id)
    90                 (snapshot, cmd, snapshot.command_results(cmd), cmd.id)
    91               case None =>
    91               case None =>
    92                 (Document.State.init.snapshot(), Command.empty, Command.Results.empty, 0L)
    92                 (Document.State.init.snapshot(), Command.empty, Command.Results.empty, 0L)
    93             }
    93             }
    94           }
    94           }
    95           else (current_snapshot, current_command, current_results, current_id)
    95           else (current_snapshot, current_command, current_results, current_id)