/** * Sets the ending character offset of the given marker. * * @param marker the marker * @param charEnd the ending character offset * @see IMarker#CHAR_END * @see IMarker#setAttribute(java.lang.String,int) */ public static void setCharEnd(IMarker marker, int charEnd) { setIntAttribute(marker, IMarker.CHAR_END, charEnd); }
/** * Sets the ending character offset of the given marker. * * @param marker the marker * @param charEnd the ending character offset * @see IMarker#CHAR_END * @see IMarker#setAttribute(java.lang.String,int) */ public static void setCharEnd(IMarker marker, int charEnd) { setIntAttribute(marker, IMarker.CHAR_END, charEnd); }
/** * Sets the starting character offset of the given marker. * * @param marker the marker * @param charStart the starting character offset * @see IMarker#CHAR_START * @see IMarker#setAttribute(java.lang.String,int) */ public static void setCharStart(IMarker marker, int charStart) { setIntAttribute(marker, IMarker.CHAR_START, charStart); }
/** * Sets the starting character offset of the given marker. * * @param marker the marker * @param charStart the starting character offset * @see IMarker#CHAR_START * @see IMarker#setAttribute(java.lang.String,int) */ public static void setCharStart(IMarker marker, int charStart) { setIntAttribute(marker, IMarker.CHAR_START, charStart); }
/** * Sets the line number of the given marker. * * @param marker the marker * @param lineNum the line number * @see IMarker#LINE_NUMBER * @see IMarker#setAttribute(java.lang.String,int) */ public static void setLineNumber(IMarker marker, int lineNum) { setIntAttribute(marker, IMarker.LINE_NUMBER, lineNum); }
/** * Sets the line number of the given marker. * * @param marker the marker * @param lineNum the line number * @see IMarker#LINE_NUMBER * @see IMarker#setAttribute(java.lang.String,int) */ public static void setLineNumber(IMarker marker, int lineNum) { setIntAttribute(marker, IMarker.LINE_NUMBER, lineNum); }