setStatusLineErrorMessage(null);
- IWorkingCopyManager manager = PHPeclipsePlugin.getDefault()
- .getWorkingCopyManager();
+ updateState(getEditorInput());
+ validateState(getEditorInput());
+
+ IWorkingCopyManager manager = PHPeclipsePlugin.getDefault().getWorkingCopyManager();
ICompilationUnit unit = manager.getWorkingCopy(getEditorInput());
if (unit != null) {
* @see org.eclipse.ui.texteditor.AbstractTextEditor#performSave(boolean,
* org.eclipse.core.runtime.IProgressMonitor)
*/
- protected void performSave(boolean overwrite,
- IProgressMonitor progressMonitor) {
+ protected void performSave(boolean overwrite, IProgressMonitor progressMonitor) {
IDocumentProvider p = getDocumentProvider();
if (p instanceof PHPDocumentProvider) {
PHPDocumentProvider cp = (PHPDocumentProvider) p;