--- a/src/Tools/jEdit/src/jedit/plugin.scala Wed Dec 22 13:30:58 2010 +0100
+++ b/src/Tools/jEdit/src/jedit/plugin.scala Wed Dec 22 13:49:06 2010 +0100
@@ -344,8 +344,9 @@
override def handleMessage(message: EBMessage)
{
message match {
- case msg: EditorStarted
- if Isabelle.Boolean_Property("auto-start") => Isabelle.start_session()
+ case msg: EditorStarted =>
+ Isabelle.check_jvm()
+ if (Isabelle.Boolean_Property("auto-start")) Isabelle.start_session()
case msg: BufferUpdate
if msg.getWhat == BufferUpdate.PROPERTIES_CHANGED =>
@@ -385,7 +386,6 @@
override def start()
{
- Isabelle.check_jvm()
Isabelle.setup_tooltips()
Isabelle.system = new Isabelle_System
Isabelle.system.install_fonts()