private boolean isCssPartition(ITextRegion textRegion,int offset){
  if (CSS_DISALLOWED_TYPES.contains(textRegion.getType())) {
    return false;
  }
  IStructuredDocumentRegion region=fStructuredDocument.getRegionAtCharacterOffset(offset);
  IStructuredDocumentRegion tagOpenRegion=SseUtilities.findStructuredDocumentRegion(OPEN_TYPES,CLOSED_TYPES,region,false);
  if (tagOpenRegion == null) {
    return false;
  }
  return isStyleElement(tagOpenRegion);
}

private boolean isCssPartition ( ITextRegion textRegion , int offset ) { if ( CSS_DISALLOWED_TYPES . contains ( textRegion . getType ( ) ) ) { return false ; } IStructuredDocumentRegion region = fStructuredDocument . getRegionAtCharacterOffset ( offset ) ; IStructuredDocumentRegion tagOpenRegion = SseUtilities . findStructuredDocumentRegion ( OPEN_TYPES , CLOSED_TYPES , region , false ) ; if ( tagOpenRegion == null ) { return false ; } return isStyleElement ( tagOpenRegion ) ; }
determines whether the given xml model - backed region is an inlined css partition .
