Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.ui.console/src/org/eclipse/ui/console/IConsoleDocumentPartitioner.java')
-rw-r--r--org.eclipse.ui.console/src/org/eclipse/ui/console/IConsoleDocumentPartitioner.java38
1 files changed, 19 insertions, 19 deletions
diff --git a/org.eclipse.ui.console/src/org/eclipse/ui/console/IConsoleDocumentPartitioner.java b/org.eclipse.ui.console/src/org/eclipse/ui/console/IConsoleDocumentPartitioner.java
index 33672ffa2..25146aea8 100644
--- a/org.eclipse.ui.console/src/org/eclipse/ui/console/IConsoleDocumentPartitioner.java
+++ b/org.eclipse.ui.console/src/org/eclipse/ui/console/IConsoleDocumentPartitioner.java
@@ -28,24 +28,24 @@ import org.eclipse.swt.custom.StyleRange;
*/
public interface IConsoleDocumentPartitioner extends IDocumentPartitioner {
- /**
- * Returns whether this partitioner's document is read-only at the specified
- * offset. The user is not allowed to type in read-only locations.
- *
- * @param offset document offset
- * @return whether this partitioner's document is read-only at the specified
- * offset
- */
- public boolean isReadOnly(int offset);
+ /**
+ * Returns whether this partitioner's document is read-only at the specified
+ * offset. The user is not allowed to type in read-only locations.
+ *
+ * @param offset document offset
+ * @return whether this partitioner's document is read-only at the specified
+ * offset
+ */
+ public boolean isReadOnly(int offset);
- /**
- * Returns style ranges for the specified region of this partitioner's document
- * to use when rendering, or <code>null</code> if none.
- *
- * @param offset beginning offset for which style ranges are requested
- * @param length the length of text for which style ranges are requested
- * @return style ranges for the specified region of this partitioner's document
- * to use when rendering, or <code>null</code> if none
- */
- public StyleRange[] getStyleRanges(int offset, int length);
+ /**
+ * Returns style ranges for the specified region of this partitioner's document
+ * to use when rendering, or <code>null</code> if none.
+ *
+ * @param offset beginning offset for which style ranges are requested
+ * @param length the length of text for which style ranges are requested
+ * @return style ranges for the specified region of this partitioner's document
+ * to use when rendering, or <code>null</code> if none
+ */
+ public StyleRange[] getStyleRanges(int offset, int length);
}

Back to the top