| 123 |
The default <b><a href="../reference/api/org/eclipse/jdt/core/formatter/CodeFormatter.html">code formatter</a></b> allows to format a set of regions of a given source file.<br> |
123 |
The default <b><a href="../reference/api/org/eclipse/jdt/core/formatter/CodeFormatter.html">code formatter</a></b> allows to format a set of regions of a given source file.<br> |
| 124 |
This can be achieved by calling the <b><a href="../reference/api/org/eclipse/jdt/core/formatter/CodeFormatter.html#format(int, java.lang.String, org.eclipse.jface.text.IRegion[], int, java.lang.String)">format(int, String, IRegion[], int, String)</a></b> method of the code formatter, |
124 |
This can be achieved by calling the <b><a href="../reference/api/org/eclipse/jdt/core/formatter/CodeFormatter.html#format(int, java.lang.String, org.eclipse.jface.text.IRegion[], int, java.lang.String)">format(int, String, IRegion[], int, String)</a></b> method of the code formatter, |
| 129 |
<li>The array of regions to format must contain at least one region. Regions should be sorted by their offsets, smaller offset first.</li> |
129 |
<li>The array of regions to format must contain at least one region. Regions should be sorted by their offsets, smaller offset first.</li> |