src/Tools/jEdit/src/active.scala
changeset 52531 21f8e0e151f5
parent 52530 99dd8b4ef3fe
child 52697 6fb98a20c349
equal deleted inserted replaced
52530:99dd8b4ef3fe 52531:21f8e0e151f5
    24           val text_area = doc_view.text_area
    24           val text_area = doc_view.text_area
    25           val model = doc_view.model
    25           val model = doc_view.model
    26           val buffer = model.buffer
    26           val buffer = model.buffer
    27           val snapshot = model.snapshot()
    27           val snapshot = model.snapshot()
    28 
    28 
    29           def try_replace_command(exec_id: Document_ID.ID, s: String)
    29           def try_replace_command(exec_id: Document_ID.Exec, s: String)
    30           {
    30           {
    31             snapshot.state.execs.get(exec_id).map(_.command) match {
    31             snapshot.state.execs.get(exec_id).map(_.command) match {
    32               case Some(command) =>
    32               case Some(command) =>
    33                 snapshot.node.command_start(command) match {
    33                 snapshot.node.command_start(command) match {
    34                   case Some(start) =>
    34                   case Some(start) =>