removed pointless case: messages should always carry proper position;
authorwenzelm
Wed, 25 Nov 2020 13:12:31 +0100
changeset 72939 eca176f773e0
parent 72938 79a19657c170
child 72940 e700e830562e
removed pointless case: messages should always carry proper position;
src/Pure/PIDE/command.scala
--- a/src/Pure/PIDE/command.scala	Wed Nov 25 13:06:03 2020 +0100
+++ b/src/Pure/PIDE/command.scala	Wed Nov 25 13:12:31 2020 +0100
@@ -374,13 +374,6 @@
                           state
                       }
 
-                    case None
-                    if !atts.exists({ case (a, _) => Markup.POSITION_PROPERTIES(a) }) =>
-                      val range = command.core_range
-                      val props = Position.purge(atts)
-                      val elem = xml_cache.elem(XML.Elem(Markup(name, props), args))
-                      state.add_markup(false, Symbol.Text_Chunk.Default, Text.Info(range, elem))
-
                     case _ => bad(); state
                   }
                 case _ => bad(); state