src/Pure/PIDE/protocol.scala
changeset 55884 f2c0eaedd579
parent 55822 ccf2d784be97
child 56295 a40e67ce4f84
equal deleted inserted replaced
55883:6f50d445f0e3 55884:f2c0eaedd579
   285     chunk: Command.Chunk,
   285     chunk: Command.Chunk,
   286     message: XML.Elem): Set[Text.Range] =
   286     message: XML.Elem): Set[Text.Range] =
   287   {
   287   {
   288     def elem_positions(props: Properties.T, set: Set[Text.Range]): Set[Text.Range] =
   288     def elem_positions(props: Properties.T, set: Set[Text.Range]): Set[Text.Range] =
   289       props match {
   289       props match {
   290         case Position.Reported(id, file_name, raw_range)
   290         case Position.Reported(id, file_name, symbol_range)
   291         if (id == command_id || id == alt_id) && file_name == chunk.file_name =>
   291         if (id == command_id || id == alt_id) && file_name == chunk.file_name =>
   292           chunk.incorporate(raw_range) match {
   292           chunk.incorporate(symbol_range) match {
   293             case Some(range) => set + range
   293             case Some(range) => set + range
   294             case _ => set
   294             case _ => set
   295           }
   295           }
   296         case _ => set
   296         case _ => set
   297       }
   297       }