scriptRegion = sdRegion.getRegionAtCharacterOffset(offset);
}
int regionStart = sdRegion.getStartOffset(scriptRegion);
// in case of container we have the extract the PhpScriptRegion
if (scriptRegion instanceof ITextRegionContainer) {
ITextRegionContainer container = (ITextRegionContainer) scriptRegion;
scriptRegion = container.getRegionAtCharacterOffset(offset);
regionStart += scriptRegion.getStart();
}
if (scriptRegion instanceof IPhpScriptRegion) {
if (tokenType == PHPRegionTypes.PHP_TOKEN
&& document.getChar(regionStart + token.getStart()) == '.') {