Bug 50212 [formatting] Repeated insertion of new line when formatting javadoc comment
Formatting the following javadoc comment multiple times results in the insertion of a new line before 'test' *each* time: /** * <pre></pre> * test */
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/comment/CommentRegion.java
}
		margin= Math.max(COMMENT_PREFIX_LENGTH + 1, margin - stringToLength(indentation) - COMMENT_PREFIX_LENGTH);
		fDocument.addPositionCategory(COMMENT_POSITION_CATEGORY);
		final IPositionUpdater positioner= new DefaultPositionUpdater(COMMENT_POSITION_CATEGORY);
		fDocument.addPositionUpdater(positioner);
		try {
			initializeRegion();
			markRegion();
			wrapRegion(margin);
			applyRegion(indentation, margin);
			finalizeRegion(indentation);
		} finally {
			if (fGraphics != null && !fGraphics.isDisposed())
				fGraphics.dispose();
			try {
				fDocument.removePositionCategory(COMMENT_POSITION_CATEGORY);
				fDocument.removePositionUpdater(positioner);
			} catch (BadPositionCategoryException exception) {
				
			}
		}
	}
	/**
	 * Returns the general line delimiter used in this comment region.
	 * 
	 * @return The line delimiter for this comment region
	 */
	protected final String getDelimiter() {
		return fDelimiter;
	}