src/Tools/VSCode/src/dynamic_output.scala
changeset 65195 ffab6f460a82
parent 65193 352d40b389ef
child 65198 76cef38242d2
equal deleted inserted replaced
65194:6dabae94cf57 65195:ffab6f460a82
    26               model.current_command(snapshot, caret_range.start) match {
    26               model.current_command(snapshot, caret_range.start) 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 =
    30                     if (!restriction.isDefined || restriction.get.contains(command))
    30                     if (!restriction.isDefined || restriction.get.contains(command))
    31                       Rendering.output_messages(
    31                       Rendering.output_messages(snapshot.command_results(command))
    32                         snapshot.state.command_results(snapshot.version, command))
       
    33                     else output)
    32                     else output)
    34               }
    33               }
    35             }
    34             }
    36             else this
    35             else this
    37         }
    36         }