equal
deleted
inserted
replaced
38 extends AbstractHyperlink(start, end, line, "") |
38 extends AbstractHyperlink(start, end, line, "") |
39 { |
39 { |
40 override def click(view: View) = { |
40 override def click(view: View) = { |
41 Isabelle_System.source_file(Path.explode(def_file)) match { |
41 Isabelle_System.source_file(Path.explode(def_file)) match { |
42 case None => |
42 case None => |
43 Library.error_dialog(view, "File not found", "Could not find source file " + def_file) |
43 Library.error_dialog(view, "File not found", |
|
44 Library.scrollable_text("Could not find source file " + def_file)) |
44 case Some(file) => |
45 case Some(file) => |
45 jEdit.openFiles(view, file.getParent, Array(file.getName, "+line:" + def_line)) |
46 jEdit.openFiles(view, file.getParent, Array(file.getName, "+line:" + def_line)) |
46 } |
47 } |
47 } |
48 } |
48 } |
49 } |