Improved completion processor
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / corext / textmanipulation / TextBuffer.java
index c7e2476..90884f9 100644 (file)
@@ -14,7 +14,7 @@ import org.eclipse.core.runtime.IProgressMonitor;
 import org.eclipse.core.runtime.IStatus;
 import org.eclipse.core.runtime.Status;
 import net.sourceforge.phpdt.internal.corext.util.Strings;
-import net.sourceforge.phpdt.internal.ui.JavaStatusConstants;
+import net.sourceforge.phpdt.internal.ui.PHPStatusConstants;
 import org.eclipse.jface.text.BadLocationException;
 import org.eclipse.jface.text.DefaultLineTracker;
 import org.eclipse.jface.text.IDocument;
@@ -303,7 +303,7 @@ public class TextBuffer {
                try {
                        fDocument.replace(offset, length, text);
                } catch (BadLocationException e) {
-                       IStatus s = new Status(IStatus.ERROR, PHPeclipsePlugin.getPluginId(), JavaStatusConstants.INTERNAL_ERROR, 
+                       IStatus s = new Status(IStatus.ERROR, PHPeclipsePlugin.getPluginId(), PHPStatusConstants.INTERNAL_ERROR, 
                                TextManipulationMessages.getFormattedString(
                                        "TextBuffer.wrongRange",  //$NON-NLS-1$
                                        new Object[] {new Integer(offset), new Integer(length) } ), e);