author | wenzelm |
Thu, 04 Dec 2014 21:28:35 +0100 | |
changeset 59091 | 4c8205fe3644 |
parent 59090 | a0a05a4edb36 |
child 59092 | d469103c0737 |
--- a/src/Tools/jEdit/src/isabelle_sidekick.scala Thu Dec 04 20:56:38 2014 +0100 +++ b/src/Tools/jEdit/src/isabelle_sidekick.scala Thu Dec 04 21:28:35 2014 +0100 @@ -83,7 +83,7 @@ // FIXME lock buffer (!??) val data = Isabelle_Sidekick.root_data(buffer) - val syntax = Isabelle.buffer_syntax(buffer) + val syntax = GUI_Thread.now { Isabelle.buffer_syntax(buffer) } val ok = if (syntax.isDefined) { val ok = parser(buffer, syntax.get, data)