if (!(aScanner instanceof ColoringPartitionScanner))
return answer;
ColoringPartitionScanner scanner = (ColoringPartitionScanner) aScanner;
if (isPrevious) {
int tokenLength = startOfToken(scanner);
scanner.moveTokenOffset(- (tokenLength - text.length));
// scanner.markLength = excludeMatch ? tokenLength - text.length: tokenLength;
scanner.setMarkLength(tokenLength);
}
return answer;
}