equal
deleted
inserted
replaced
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 } |