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
Display d= fTextWidget.getDisplay();
				if (d != null) {
					d.asyncExec(new Runnable() {
						public void run() {
							if (fTextWidget != null && !fTextWidget.isDisposed())
								updatePainting();
						}
					});
				}
			}
		}
	}
	
	public void setHighlightColor(Color color) {
		fColor= color;
	}
	
	/*
	 * @see IPainter#dispose()
	 */
	public void dispose() {
		fColor= null;
		fTextWidget= null;
		fModel= null;
		fProblemPositions= null;
	}
	/*
	 * Returns the document offset of the upper left corner of the widgets viewport,
	 * possibly including partially visible lines.
	 */