equal
deleted
inserted
replaced
19 ): State = { |
19 ): State = { |
20 val st1 = |
20 val st1 = |
21 resources.get_caret() match { |
21 resources.get_caret() match { |
22 case None => copy(output = Nil) |
22 case None => copy(output = Nil) |
23 case Some(caret) => |
23 case Some(caret) => |
24 val snapshot = caret.model.snapshot() |
24 val snapshot = resources.snapshot(caret.model) |
25 if (do_update && !snapshot.is_outdated) { |
25 if (do_update && !snapshot.is_outdated) { |
26 snapshot.current_command(caret.node_name, caret.offset) match { |
26 snapshot.current_command(caret.node_name, caret.offset) match { |
27 case None => copy(output = Nil) |
27 case None => copy(output = Nil) |
28 case Some(command) => |
28 case Some(command) => |
29 copy(output = |
29 copy(output = |