int cursorAtLine(final Location atLocation) { LOG.debug("pointer at " + atLocation); final int y = atLocation.getY(); int lineIndex = displayFromLine + (y / target.getText().getLineHeight()); lineIndex = Math.max(lineIndex, 0); return lineIndex; }
@Override public void showDebugFrame(final DebuggableWithTitle[] info, final Location at) { final InfoDebugFrame f = new InfoDebugFrame(); f.setInfo(info); f.show(at.getX(), at.getY()); }