// handle untitled document debugging
// first save the file to the disk and after that set the
// document as dirty
if (editor instanceof ITextEditor) {
ITextEditor textEditor = (ITextEditor) editor;
final TextFileDocumentProvider documentProvider = (TextFileDocumentProvider) textEditor
.getDocumentProvider();
final IDocument document = documentProvider
.getDocument(input);
documentProvider.saveDocument(null, input, document,
true);
// set document dirty
document.replace(0, 0, ""); //$NON-NLS-1$
}
path = ((NonExistingPHPFileEditorInput) input)