Bug 46341 [formatting][implementation] comment line length not correctly applied
(1105 nightly build) when formatting the declaration below, with all default code formatter options (i.e. comment line length = 80), the last word '<code>String</code>' is not correctly moved to anotherline, leaving the last line longer than 80 characters (about 87 characters i think..) /** * Sets the set of identifiers to active activities. * * @param activeActivityIds * the set of identifiers to active activities. This set may be * empty, but it must not be <code>null</code>. If this set * is not empty, it must only contain instances of <code>String</code>. */ void setActiveActivityIds(Set activeActivityIds);
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/comment/CommentRegion.java
/**
	 * Returns the comment ranges in this comment region
	 * 
	 * @return The comment ranges in this region
	 */
	protected final LinkedList getRanges() {
		return fRanges;
	}
	/**
	 * Returns the number of comment lines in this comment region.
	 * 
	 * @return The number of lines in this comment region
	 */
	protected final int getSize() {
		return fLines.size();
	}
	/**
	 * Returns the text of this comment region in the indicated range.
	 * 
	 * @param position
	 *                  The offset of the comment range to retrieve in comment region
	 *                  coordinates
	 * @param count
	 *                  The length of the comment range to retrieve
	 * @return The content of this comment region in the indicated range
	 */
	protected final String getText(final int position, final int count) {
		String content= ""; 
		try {
			content= fDocument.get(getOffset() + position, count);