src/Pure/PIDE/sendback.ML
changeset 50456 e732da007562
parent 50449 75e00ff42870
parent 50455 c7f366a861ed
child 50457 ba9046bbb3ac
child 50461 dc160c718f38
--- a/src/Pure/PIDE/sendback.ML	Mon Dec 10 14:45:47 2012 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,33 +0,0 @@
-(*  Title:      Pure/PIDE/sendback.ML
-    Author:     Makarius
-
-Clickable "sendback" areas within the source text (see also
-Tools/jEdit/src/sendback.scala).
-*)
-
-signature SENDBACK =
-sig
-  val make_markup: {implicit: bool, properties: Properties.T} -> Markup.T
-  val markup_implicit: string -> string
-  val markup: string -> string
-end;
-
-structure Sendback: SENDBACK =
-struct
-
-fun make_markup {implicit, properties} =
-  Markup.sendback
-  |> not implicit ? (fn markup =>
-      let
-        val props =
-          (case Position.get_id (Position.thread_data ()) of
-            SOME id => [(Markup.idN, id)]
-          | NONE => []);
-      in Markup.properties props markup end)
-  |> Markup.properties properties;
-
-fun markup_implicit s = Markup.markup (make_markup {implicit = true, properties = []}) s;
-fun markup s = Markup.markup (make_markup {implicit = false, properties = []}) s;
-
-end;
-