|
Eclipse Platform Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.text.DefaultPositionUpdater
org.eclipse.jface.text.formatter.MultiPassContentFormatter.NonDeletingPositionUpdater
protected class MultiPassContentFormatter.NonDeletingPositionUpdater
Position updater that shifts otherwise deleted positions to the next non-whitespace character. The length of the positions are truncated to one if the position was shifted.
Field Summary |
---|
Fields inherited from class org.eclipse.jface.text.DefaultPositionUpdater |
---|
fDocument, fLength, fOffset, fOriginalPosition, fPosition, fReplaceLength |
Constructor Summary | |
---|---|
MultiPassContentFormatter.NonDeletingPositionUpdater(java.lang.String category)
Creates a new non-deleting position updater. |
Method Summary | |
---|---|
protected boolean |
notDeleted()
Determines whether the currently investigated position has been deleted by the replace operation specified in the current event. |
Methods inherited from class org.eclipse.jface.text.DefaultPositionUpdater |
---|
adaptToInsert, adaptToRemove, adaptToReplace, getCategory, isAffectingReplace, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MultiPassContentFormatter.NonDeletingPositionUpdater(java.lang.String category)
category
- The position category to update its positionsMethod Detail |
---|
protected final boolean notDeleted()
DefaultPositionUpdater
notDeleted
in class DefaultPositionUpdater
true
if position has been deleted
|
Eclipse Platform Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.