Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDani Megert2010-10-22 07:08:48 +0000
committerDani Megert2010-10-22 07:08:48 +0000
commitcc3927138074bf7047209c85898f6b10f92f4210 (patch)
tree5b1f36af9536d62a2f105ed9a4dd7348744ab248 /org.eclipse.text/src/org/eclipse
parent8581642bfd4ce3aa9b9b7cd27d08b6457da2bf89 (diff)
downloadeclipse.platform.text-cc3927138074bf7047209c85898f6b10f92f4210.tar.gz
eclipse.platform.text-cc3927138074bf7047209c85898f6b10f92f4210.tar.xz
eclipse.platform.text-cc3927138074bf7047209c85898f6b10f92f4210.zip
Clarified Javadoc.
Diffstat (limited to 'org.eclipse.text/src/org/eclipse')
-rw-r--r--org.eclipse.text/src/org/eclipse/jface/text/IRepairableDocumentExtension.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/org.eclipse.text/src/org/eclipse/jface/text/IRepairableDocumentExtension.java b/org.eclipse.text/src/org/eclipse/jface/text/IRepairableDocumentExtension.java
index d4eb5cf342c..7a2839e8e46 100644
--- a/org.eclipse.text/src/org/eclipse/jface/text/IRepairableDocumentExtension.java
+++ b/org.eclipse.text/src/org/eclipse/jface/text/IRepairableDocumentExtension.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2008 IBM Corporation and others.
+ * Copyright (c) 2007, 2010 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -14,22 +14,22 @@ package org.eclipse.jface.text;
/**
* Extension interface for {@link org.eclipse.jface.text.IRepairableDocument}.
* <p>
- * Adds the ability to query whether the repairable document needs to be
- * repaired.
- *
+ * Adds the ability to query whether the repairable document would have to be repaired after
+ * replacing some text.
+ *
* @see org.eclipse.jface.text.IRepairableDocument
* @since 3.4
*/
public interface IRepairableDocumentExtension {
/**
- * Tells whether the line information of the document implementing this
- * interface needs to be repaired.
- *
+ * Tells whether the line information of the document implementing this interface needs to be
+ * repaired after replacing the given text.
+ *
* @param offset the document offset
* @param length the length of the specified range
* @param text the substitution text to check
- * @return <code>true</code> if the line information must be repaired
+ * @return <code>true</code> if the line information must be repaired after replacing
* @throws BadLocationException if the offset is invalid in this document
* @see IRepairableDocument#repairLineInformation()
*/

Back to the top