X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/ui/text/JavaPresentationReconciler.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/ui/text/JavaPresentationReconciler.java index 67b0c5e..0b608f9 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/ui/text/JavaPresentationReconciler.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/ui/text/JavaPresentationReconciler.java @@ -16,29 +16,31 @@ import org.eclipse.jface.text.IRegion; import org.eclipse.jface.text.TextPresentation; import org.eclipse.jface.text.presentation.PresentationReconciler; - /** * Presentation reconciler, adding functionality for operation without a viewer. * * @since 3.0 */ public class JavaPresentationReconciler extends PresentationReconciler { - + /** Last used document */ private IDocument fLastDocument; - + /** - * Constructs a "repair description" for the given damage and returns - * this description as a text presentation. + * Constructs a "repair description" for the given damage and returns this + * description as a text presentation. *

* NOTE: Should not be used if this reconciler is installed on a viewer. *

- * - * @param damage the damage to be repaired - * @param document the document whose presentation must be repaired + * + * @param damage + * the damage to be repaired + * @param document + * the document whose presentation must be repaired * @return the presentation repair description as text presentation */ - public TextPresentation createRepairDescription(IRegion damage, IDocument document) { + public TextPresentation createRepairDescription(IRegion damage, + IDocument document) { if (document != fLastDocument) { setDocumentToDamagers(document); setDocumentToRepairers(document);