diff options
author | teicher | 2005-08-31 14:54:57 +0000 |
---|---|---|
committer | teicher | 2005-08-31 14:54:57 +0000 |
commit | a92e62b4e83ceccaed87de50de1262dbd57b40cc (patch) | |
tree | 07af5c91a4e0eeb1c9f0699e5236edc9e70ebffb /org.eclipse.text/projection/org/eclipse/jface | |
parent | e8692535b78fcd376d572545230f2e7b5a3b19ec (diff) | |
download | eclipse.platform.text-a92e62b4e83ceccaed87de50de1262dbd57b40cc.tar.gz eclipse.platform.text-a92e62b4e83ceccaed87de50de1262dbd57b40cc.tar.xz eclipse.platform.text-a92e62b4e83ceccaed87de50de1262dbd57b40cc.zip |
javadoc clarifications
Diffstat (limited to 'org.eclipse.text/projection/org/eclipse/jface')
-rw-r--r-- | org.eclipse.text/projection/org/eclipse/jface/text/projection/FragmentUpdater.java | 11 | ||||
-rw-r--r-- | org.eclipse.text/projection/org/eclipse/jface/text/projection/ProjectionDocument.java | 2 |
2 files changed, 6 insertions, 7 deletions
diff --git a/org.eclipse.text/projection/org/eclipse/jface/text/projection/FragmentUpdater.java b/org.eclipse.text/projection/org/eclipse/jface/text/projection/FragmentUpdater.java index 7b10221343e..8da7b43a7a1 100644 --- a/org.eclipse.text/projection/org/eclipse/jface/text/projection/FragmentUpdater.java +++ b/org.eclipse.text/projection/org/eclipse/jface/text/projection/FragmentUpdater.java @@ -99,13 +99,12 @@ class FragmentUpdater extends DefaultPositionUpdater { } /** - * Returns whether this updater considers any position affected by the given - * document event. A position is affected if either the offset or the length - * of the position is modified but the position is not just shifted. - * + * Returns whether this updater considers any position affected by the given document event. A + * position is affected if <code>event</code> {@link Position#overlapsWith(int, int) overlaps} + * with it but not if the position is only shifted. + * * @param event the event - * @return <code>true</code> if there is any affected position, - * <code>false</code> otherwise + * @return <code>true</code> if there is any affected position, <code>false</code> otherwise */ public boolean affectsPositions(DocumentEvent event) { IDocument document= event.getDocument(); diff --git a/org.eclipse.text/projection/org/eclipse/jface/text/projection/ProjectionDocument.java b/org.eclipse.text/projection/org/eclipse/jface/text/projection/ProjectionDocument.java index 4912eda8073..5565d5b5c58 100644 --- a/org.eclipse.text/projection/org/eclipse/jface/text/projection/ProjectionDocument.java +++ b/org.eclipse.text/projection/org/eclipse/jface/text/projection/ProjectionDocument.java @@ -725,7 +725,7 @@ public class ProjectionDocument extends AbstractDocument { } /** - * Ensures that when the master event effects this projection document, that the whole region described by the + * Ensures that when the master event affects this projection document, that the whole region described by the * event is part of this projection document. * * @param masterEvent the master document event |