import net.sourceforge.phpeclipse.ui.WebUI;
//import net.sourceforge.phpeclipse.PHPeclipsePlugin;
-import org.eclipse.jface.text.IDocument;
+//import org.eclipse.jface.text.IDocument;
import org.eclipse.jface.text.ITextViewer;
import org.eclipse.jface.text.contentassist.ICompletionProposal;
import org.eclipse.jface.text.contentassist.IContentAssistProcessor;
private TemplateEngine fTemplateEngine;
- private boolean fRestrictToMatchingCase;
+ //private boolean fRestrictToMatchingCase;
private IEditorPart fEditor;
.getTemplateContextRegistry().getContextType("phpdoc"); //$NON-NLS-1$
if (contextType != null)
fTemplateEngine = new TemplateEngine(contextType);
- fRestrictToMatchingCase = false;
+ //fRestrictToMatchingCase = false;
fComparator = new PHPCompletionProposalComparator();
}
* <code>true</code> if proposals should be restricted
*/
public void restrictProposalsToMatchingCases(boolean restrict) {
- fRestrictToMatchingCase = restrict;
+ //fRestrictToMatchingCase = restrict;
}
/**
int documentOffset) {
ICompilationUnit unit = fManager.getWorkingCopy(fEditor
.getEditorInput());
- IDocument document = viewer.getDocument();
+ //IDocument document = viewer.getDocument();
IPHPCompletionProposal[] results = new IPHPCompletionProposal[0];