tools: correctly display multiline locations