}
private IDocumentPartitioner createJSPPartitioner() {
- return new PHPDocumentPartitioner(getJSPPartitionScanner(), getPHPPartitionScanner());
+ return new PHPDocumentPartitioner(getJSPPartitionScanner());
// return new JSPDocumentPartitioner(getJSPPartitionScanner(), jspScriptScanner);
}
Contributors:
Igor Malinin - initial contribution
- $Id: PHPDocumentPartitioner.java,v 1.4 2005-08-18 20:09:25 axelcl Exp $
+ $Id: PHPDocumentPartitioner.java,v 1.5 2005-10-09 12:05:31 axelcl Exp $
**********************************************************************/
package net.sourceforge.phpeclipse.phpeditor.php;
import org.eclipse.jface.text.rules.IPartitionTokenScanner;
/**
- *
- *
+ *
+ *
* @author Igor Malinin
*/
public class PHPDocumentPartitioner extends MultiViewPartitioner {
PHP_TEMPLATE_DATA,
PHP_SCRIPT_CODE
};
-
- private IPartitionTokenScanner scriptScanner;
- public PHPDocumentPartitioner(IPartitionTokenScanner scanner, IPartitionTokenScanner scriptScanner) {
- super(scanner);
- this.scriptScanner = scriptScanner;
+ public PHPDocumentPartitioner(IPartitionTokenScanner scanner) {
+ super(scanner);
}
protected FlatNode createNode(String type, int offset, int length) {