Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Keller2010-06-25 13:02:21 +0000
committerMarkus Keller2010-06-25 13:02:21 +0000
commit045283ef6934d48591ede60ad63612cd9fe38a09 (patch)
treef0833b91fd123660aa93e33a1c62f58a4b1b1ffa
parent3790d5457ab12f6b928d61e2be8ece444aa599ea (diff)
downloadeclipse.platform.text-045283ef6934d48591ede60ad63612cd9fe38a09.tar.gz
eclipse.platform.text-045283ef6934d48591ede60ad63612cd9fe38a09.tar.xz
eclipse.platform.text-045283ef6934d48591ede60ad63612cd9fe38a09.zip
fixed wrong usages of affect* & effect*
-rw-r--r--org.eclipse.core.filebuffers/src/org/eclipse/core/filebuffers/IFileBufferListener.java16
-rw-r--r--org.eclipse.jface.text/projection/org/eclipse/jface/text/source/projection/ProjectionViewer.java2
-rw-r--r--org.eclipse.jface.text/src/org/eclipse/jface/text/IInformationControl.java2
-rw-r--r--org.eclipse.text/src/org/eclipse/jface/text/IDocumentExtension2.java2
-rw-r--r--org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/IDocumentProvider.java2
5 files changed, 12 insertions, 12 deletions
diff --git a/org.eclipse.core.filebuffers/src/org/eclipse/core/filebuffers/IFileBufferListener.java b/org.eclipse.core.filebuffers/src/org/eclipse/core/filebuffers/IFileBufferListener.java
index c3e29c35ff3..6607960a417 100644
--- a/org.eclipse.core.filebuffers/src/org/eclipse/core/filebuffers/IFileBufferListener.java
+++ b/org.eclipse.core.filebuffers/src/org/eclipse/core/filebuffers/IFileBufferListener.java
@@ -39,14 +39,14 @@ public interface IFileBufferListener {
/**
* Informs the listener about an upcoming replace of the contents of the given buffer.
*
- * @param buffer the effected file buffer
+ * @param buffer the affected file buffer
*/
void bufferContentAboutToBeReplaced(IFileBuffer buffer);
/**
* Informs the listener that the buffer of the given buffer has been replaced.
*
- * @param buffer the effected file buffer
+ * @param buffer the affected file buffer
*/
void bufferContentReplaced(IFileBuffer buffer);
@@ -54,7 +54,7 @@ public interface IFileBufferListener {
* Informs the listener about the start of a state changing operation on
* the given buffer.
*
- * @param buffer the effected file buffer
+ * @param buffer the affected file buffer
*/
void stateChanging(IFileBuffer buffer);
@@ -62,7 +62,7 @@ public interface IFileBufferListener {
* Informs the listener that the dirty state of the given buffer changed
* to the specified value
*
- * @param buffer the effected file buffer
+ * @param buffer the affected file buffer
* @param isDirty <code>true</code> if the buffer is dirty, <code>false</code> otherwise
*/
void dirtyStateChanged(IFileBuffer buffer, boolean isDirty);
@@ -70,7 +70,7 @@ public interface IFileBufferListener {
/**
* Informs the listener that the state validation changed to the specified value.
*
- * @param buffer the effected file buffer
+ * @param buffer the affected file buffer
* @param isStateValidated <code>true</code> if the buffer state is validated, <code>false</code> otherwise
*/
void stateValidationChanged(IFileBuffer buffer, boolean isStateValidated);
@@ -83,7 +83,7 @@ public interface IFileBufferListener {
* backed by an <code>IFile</code>.
* </p>
*
- * @param buffer the effected file buffer
+ * @param buffer the affected file buffer
* @param path the new location (not just the container)
*/
void underlyingFileMoved(IFileBuffer buffer, IPath path);
@@ -91,7 +91,7 @@ public interface IFileBufferListener {
/**
* Informs the listener that the file underlying the given file buffer has been deleted.
*
- * @param buffer the effected file buffer
+ * @param buffer the affected file buffer
*/
void underlyingFileDeleted(IFileBuffer buffer);
@@ -99,7 +99,7 @@ public interface IFileBufferListener {
* Informs the listener that a state changing operation on the given
* file buffer failed.
*
- * @param buffer the effected file buffer
+ * @param buffer the affected file buffer
*/
void stateChangeFailed(IFileBuffer buffer);
}
diff --git a/org.eclipse.jface.text/projection/org/eclipse/jface/text/source/projection/ProjectionViewer.java b/org.eclipse.jface.text/projection/org/eclipse/jface/text/source/projection/ProjectionViewer.java
index 6aedcf3e8b8..02e0145cbb5 100644
--- a/org.eclipse.jface.text/projection/org/eclipse/jface/text/source/projection/ProjectionViewer.java
+++ b/org.eclipse.jface.text/projection/org/eclipse/jface/text/source/projection/ProjectionViewer.java
@@ -1325,7 +1325,7 @@ public class ProjectionViewer extends SourceViewer implements ITextViewerExtensi
IRegion rangeIndication= getRangeIndication();
if (moveCursor && fProjectionAnnotationModel != null && (rangeIndication == null || offset != rangeIndication.getOffset() || length != rangeIndication.getLength())) {
List expand= new ArrayList(2);
- // expand the immediate effected collapsed regions
+ // expand the immediate affected collapsed regions
Iterator iterator= fProjectionAnnotationModel.getAnnotationIterator();
while (iterator.hasNext()) {
ProjectionAnnotation annotation= (ProjectionAnnotation)iterator.next();
diff --git a/org.eclipse.jface.text/src/org/eclipse/jface/text/IInformationControl.java b/org.eclipse.jface.text/src/org/eclipse/jface/text/IInformationControl.java
index 999aefa0821..094ecdc1c1d 100644
--- a/org.eclipse.jface.text/src/org/eclipse/jface/text/IInformationControl.java
+++ b/org.eclipse.jface.text/src/org/eclipse/jface/text/IInformationControl.java
@@ -191,7 +191,7 @@ public interface IInformationControl {
/**
* Removes the given listeners from the list of focus listeners.
- * If the listener is not registered this call has no affect.
+ * If the listener is not registered this call has no effect.
*
* @param listener the listener to be removed
*/
diff --git a/org.eclipse.text/src/org/eclipse/jface/text/IDocumentExtension2.java b/org.eclipse.text/src/org/eclipse/jface/text/IDocumentExtension2.java
index e8d03f36134..0844c362379 100644
--- a/org.eclipse.text/src/org/eclipse/jface/text/IDocumentExtension2.java
+++ b/org.eclipse.text/src/org/eclipse/jface/text/IDocumentExtension2.java
@@ -38,7 +38,7 @@ public interface IDocumentExtension2 {
/**
* Can be called prior to a <code>replace</code> operation. After the
* <code>replace</code> <code>resumeListenerNotification</code> must be
- * called. The affect of these calls is that no document listener is notified
+ * called. The effect of these calls is that no document listener is notified
* until <code>resumeListenerNotification</code> is called. This allows clients
* to update structure before any listener is informed about the change.<p>
* Listener notification can only be stopped for a single <code>replace</code> operation.
diff --git a/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/IDocumentProvider.java b/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/IDocumentProvider.java
index b020c3851d6..3f4ba596d66 100644
--- a/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/IDocumentProvider.java
+++ b/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/IDocumentProvider.java
@@ -213,7 +213,7 @@ public interface IDocumentProvider {
/**
* Removes the given element state listener from this document provider.
- * Has no affect if an identical listener is not registered.
+ * Has no effect if an identical listener is not registered.
*
* @param listener the listener
*/

Back to the top