better error messages for unterminated strings and comments
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpeclipse / phpeditor / PHPSourceViewerConfiguration.java
index 2874885..401ca2c 100644 (file)
@@ -443,7 +443,7 @@ public class PHPSourceViewerConfiguration extends SourceViewerConfiguration {
                                IPHPPartitions.SMARTY);
                assistant.setContentAssistProcessor(processor,
                                IPHPPartitions.SMARTY_MULTILINE_COMMENT);
-               assistant.setContentAssistProcessor(new PHPCompletionProcessor(),
+               assistant.setContentAssistProcessor(new PHPCompletionProcessor(getEditor()),
                                IPHPPartitions.PHP_PARTITIONING);
                assistant.setContentAssistProcessor(new PHPDocCompletionProcessor(),
                                IPHPPartitions.PHP_PHPDOC_COMMENT);