src/Tools/jEdit/src/scala_console.scala
changeset 55621 8d69c15b6fb9
parent 55618 995162143ef4
child 56832 93f05fa757dd
equal deleted inserted replaced
55620:19dffae33cde 55621:8d69c15b6fb9
   145     out.print(null,
   145     out.print(null,
   146      "This shell evaluates Isabelle/Scala expressions.\n\n" +
   146      "This shell evaluates Isabelle/Scala expressions.\n\n" +
   147      "The following special toplevel bindings are provided:\n" +
   147      "The following special toplevel bindings are provided:\n" +
   148      "  view    -- current jEdit/Swing view (e.g. view.getBuffer, view.getTextArea)\n" +
   148      "  view    -- current jEdit/Swing view (e.g. view.getBuffer, view.getTextArea)\n" +
   149      "  console -- jEdit Console plugin\n" +
   149      "  console -- jEdit Console plugin\n" +
   150      "  PIDE    -- Isabelle/PIDE plugin (e.g. PIDE.session, PIDE.document_model)\n")
   150      "  PIDE    -- Isabelle/PIDE plugin (e.g. PIDE.session, PIDE.snapshot, PIDE.rendering)\n")
   151   }
   151   }
   152 
   152 
   153   override def printPrompt(console: Console, out: Output)
   153   override def printPrompt(console: Console, out: Output)
   154   {
   154   {
   155     out.writeAttrs(ConsolePane.colorAttributes(console.getInfoColor), "scala>")
   155     out.writeAttrs(ConsolePane.colorAttributes(console.getInfoColor), "scala>")