String type = TextUtilities.getContentType(document,
getDocumentPartitioning(), pos, true);
boolean activated = true;
if (type != PHPPartitionTypes.PHP_DEFAULT) {
if (fViewer instanceof PHPStructuredTextViewer) {
PHPStructuredTextViewer phpViewer = (PHPStructuredTextViewer) fViewer;
if (phpViewer.getViewerConfiguration() instanceof PHPStructuredTextViewerConfiguration) {
PHPStructuredTextViewerConfiguration viewerConfiguration = (PHPStructuredTextViewerConfiguration) phpViewer
.getViewerConfiguration();
IContentAssistProcessor[] processors = viewerConfiguration
.getProcessorMap().get(type);
if (processors != null) {
StringBuffer sb = new StringBuffer();