/** * Given a <code>Doc</code>, return an anchor name for it. * * @param d the <code>Doc</code> to check. * @return the name of the anchor. */ public static String getAnchorName(Doc d) { return "line." + d.position().line(); }
/** * Given a <code>Doc</code>, return an anchor name for it. * * @param d the <code>Doc</code> to check. * @return the name of the anchor. */ public static String getAnchorName(Doc d) { return "line." + d.position().line(); }