--- a/src/Tools/jEdit/src/isabelle.scala Thu Aug 29 15:48:37 2013 +0200
+++ b/src/Tools/jEdit/src/isabelle.scala Thu Aug 29 15:53:56 2013 +0200
@@ -21,17 +21,17 @@
val modes =
List(
"isabelle", // theory source
+ "isabelle-markup", // SideKick markup tree
"isabelle-news", // NEWS
"isabelle-options", // etc/options
"isabelle-output", // pretty text area output
- "isabelle-raw", // SideKick content tree
"isabelle-root") // session ROOT
private lazy val news_syntax = Outer_Syntax.init().no_tokens
def mode_syntax(name: String): Option[Outer_Syntax] =
name match {
- case "isabelle" | "isabelle-raw" =>
+ case "isabelle" | "isabelle-markup" =>
val syntax = PIDE.session.recent_syntax
if (syntax == Outer_Syntax.empty) None else Some(syntax)
case "isabelle-options" => Some(Options.options_syntax)
--- a/src/Tools/jEdit/src/isabelle_sidekick.scala Thu Aug 29 15:48:37 2013 +0200
+++ b/src/Tools/jEdit/src/isabelle_sidekick.scala Thu Aug 29 15:53:56 2013 +0200
@@ -142,7 +142,7 @@
Isabelle_Sidekick_Structure("isabelle-root", PIDE.thy_load.buffer_node_dummy)
-class Isabelle_Sidekick_Raw extends Isabelle_Sidekick("isabelle-raw")
+class Isabelle_Sidekick_Markup extends Isabelle_Sidekick("isabelle-markup")
{
override def parser(buffer: Buffer, syntax: Outer_Syntax, data: SideKickParsedData): Boolean =
{
--- a/src/Tools/jEdit/src/services.xml Thu Aug 29 15:48:37 2013 +0200
+++ b/src/Tools/jEdit/src/services.xml Thu Aug 29 15:53:56 2013 +0200
@@ -8,6 +8,9 @@
<SERVICE NAME="isabelle" CLASS="sidekick.SideKickParser">
new isabelle.jedit.Isabelle_Sidekick_Default();
</SERVICE>
+ <SERVICE NAME="isabelle-markup" CLASS="sidekick.SideKickParser">
+ new isabelle.jedit.Isabelle_Sidekick_Markup();
+ </SERVICE>
<SERVICE NAME="isabelle-news" CLASS="sidekick.SideKickParser">
new isabelle.jedit.Isabelle_Sidekick_News();
</SERVICE>
@@ -17,9 +20,6 @@
<SERVICE NAME="isabelle-root" CLASS="sidekick.SideKickParser">
new isabelle.jedit.Isabelle_Sidekick_Root();
</SERVICE>
- <SERVICE NAME="isabelle-raw" CLASS="sidekick.SideKickParser">
- new isabelle.jedit.Isabelle_Sidekick_Raw();
- </SERVICE>
<SERVICE CLASS="console.Shell" NAME="Scala">
new isabelle.jedit.Scala_Console();
</SERVICE>