equal
deleted
inserted
replaced
50 snapshot <- PIDE.editor.current_node_snapshot(view) |
50 snapshot <- PIDE.editor.current_node_snapshot(view) |
51 if follow && !snapshot.is_outdated |
51 if follow && !snapshot.is_outdated |
52 } { |
52 } { |
53 val (command, results) = |
53 val (command, results) = |
54 PIDE.editor.current_command(view, snapshot) match { |
54 PIDE.editor.current_command(view, snapshot) match { |
55 case Some(command) => |
55 case Some(command) => (command, snapshot.command_results(command)) |
56 (command, snapshot.state.command_results(snapshot.version, command)) |
|
57 case None => (Command.empty, Command.Results.empty) |
56 case None => (Command.empty, Command.Results.empty) |
58 } |
57 } |
59 |
58 |
60 val new_output = |
59 val new_output = |
61 if (!restriction.isDefined || restriction.get.contains(command)) |
60 if (!restriction.isDefined || restriction.get.contains(command)) |