while (partEndOffset < endOffset) {
- if (partition.getType() == IPHPPartitions.PHP_MULTILINE_COMMENT) {
+ if (partition.getType() == IPHPPartitions.PHP_PHPDOC_COMMENT) {
edits.add(factory.createEdit(partOffset, tokenLength, "")); //$NON-NLS-1$
edits.add(factory.createEdit(partEndOffset - tokenLength, tokenLength, "")); //$NON-NLS-1$
}
partEndOffset= partOffset + partition.getLength();
}
- if (partition.getType() == IPHPPartitions.PHP_MULTILINE_COMMENT) {
+ if (partition.getType() == IPHPPartitions.PHP_PHPDOC_COMMENT) {
edits.add(factory.createEdit(partOffset, tokenLength, "")); //$NON-NLS-1$
edits.add(factory.createEdit(partEndOffset - tokenLength, tokenLength, "")); //$NON-NLS-1$
}