equal
deleted
inserted
replaced
18 import org.gjt.sp.jedit.io.{VFS, FileVFS, VFSManager} |
18 import org.gjt.sp.jedit.io.{VFS, FileVFS, VFSManager} |
19 import org.gjt.sp.jedit.MiscUtilities |
19 import org.gjt.sp.jedit.MiscUtilities |
20 import org.gjt.sp.jedit.{jEdit, View, Buffer} |
20 import org.gjt.sp.jedit.{jEdit, View, Buffer} |
21 import org.gjt.sp.jedit.bufferio.BufferIORequest |
21 import org.gjt.sp.jedit.bufferio.BufferIORequest |
22 |
22 |
|
23 |
|
24 object JEdit_Resources |
|
25 { |
|
26 val empty: JEdit_Resources = |
|
27 new JEdit_Resources(Set.empty, Map.empty, Outer_Syntax.empty) |
|
28 } |
23 |
29 |
24 class JEdit_Resources( |
30 class JEdit_Resources( |
25 loaded_theories: Set[String], |
31 loaded_theories: Set[String], |
26 known_theories: Map[String, Document.Node.Name], |
32 known_theories: Map[String, Document.Node.Name], |
27 base_syntax: Outer_Syntax) |
33 base_syntax: Outer_Syntax) |
117 } model.syntax_changed() |
123 } model.syntax_changed() |
118 } |
124 } |
119 if (change.deps_changed && PIDE.options.bool("jedit_auto_load")) PIDE.deps_changed() |
125 if (change.deps_changed && PIDE.options.bool("jedit_auto_load")) PIDE.deps_changed() |
120 } |
126 } |
121 } |
127 } |
122 |
|