equal
deleted
inserted
replaced
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) |