Bug 18581 Single element view - markers from other elements shown
0) set some breakpoints in two methods, a, b 1) switch to the single element view in the editor 2) select a ->you can see the breakpoint on method b as a ghost (i.e. they do not update as user edits)
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ProblemPainter.java
for (Iterator e = fProblemPositions.iterator(); e.hasNext();) {
			Position p = (Position) e.next();
			if (p.overlapsWith(vOffset, vLength) && p.overlapsWith(offset , length)) {
				int p1= Math.max(offset, p.getOffset());
				int p2= Math.min(offset + length, p.getOffset() + p.getLength());
				draw(gc, p1 - offset, p2 - p1);
			}
		}
	}
	
	private int[] computePolyline(Point left, Point right, int height) {
		
		final int WIDTH= 4; 
		final int HEIGHT= 2; 
		
		int leftX= left.x;
		int peeks= (right.x - left.x) / WIDTH;
				
		
		int length= ((2 * peeks) + 1) * 2;
		if (length < 0)
			return new int[0];
			
		int[] coordinates= new int[length];
		
		
		int bottom= left.y + height - 1;
		int top= bottom - HEIGHT;