View | Details | Raw Unified | Return to bug 235295
Collapse All | Expand All

(-)formatter/org/eclipse/jdt/core/formatter/CodeFormatter.java (-5 / +10 lines)
Lines 85-98 Link Here
85
	 * {@link #K_UNKNOWN} kinds for now but might be extended to other ones
85
	 * {@link #K_UNKNOWN} kinds for now but might be extended to other ones
86
	 * in future versions.
86
	 * in future versions.
87
	 * </p><p>
87
	 * </p><p>
88
	 * Note also that it has an effect only when the option
88
	 * Note also that it has an effect only when one or several format comments
89
	 * {@link DefaultCodeFormatterConstants#FORMATTER_COMMENT_FORMAT_JAVADOC_COMMENT}
89
	 * options for
90
	 * is set to {@link DefaultCodeFormatterConstants#TRUE} while calling
90
	 * {@link DefaultCodeFormatterConstants#FORMATTER_COMMENT_FORMAT_JAVADOC_COMMENT javadoc}
91
	 * ,
92
	 * {@link DefaultCodeFormatterConstants#FORMATTER_COMMENT_FORMAT_BLOCK_COMMENT block}
93
	 * or
94
	 * {@link DefaultCodeFormatterConstants#FORMATTER_COMMENT_FORMAT_LINE_COMMENT line}
95
	 * are set to {@link DefaultCodeFormatterConstants#TRUE true} while calling
91
	 * {@link #format(int, String, int, int, int, String)} or
96
	 * {@link #format(int, String, int, int, int, String)} or
92
	 * {@link #format(int, String, IRegion[], int, String)} methods
97
	 * {@link #format(int, String, IRegion[], int, String)} methods
93
	 * </p><p>
98
	 * </p><p>
94
	 * For example, with the Eclipse default formatter options, the formatting of
99
	 * For example, with the Eclipse default formatter options, the formatting
95
	 * the following code snippet using {@link #K_COMPILATION_UNIT}:
100
	 * of the following code snippet using {@link #K_COMPILATION_UNIT}:
96
	 * <pre>
101
	 * <pre>
97
	 * public class X {
102
	 * public class X {
98
	 * &#047;&#042;&#042;
103
	 * &#047;&#042;&#042;

Return to bug 235295