Bug 43488 [typing] BadPositionCategoryException in LinkedPositionManager
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/link/contentassist/ContentAssistant2.java
}
	}
	
	/**
	 * Unregisters a content assist listener.
	 *
	 * @param listener the listener to unregister
	 * @param type the type of listener
	 *
	 * @see #addContentAssistListener
	 */
	void removeContentAssistListener(IContentAssistListener2 listener, int type) {
		fListeners[type]= null;
		
		if (getNumberOfListeners() == 0) {
			
			if (fCloser != null) {
				fCloser.uninstall();
				fCloser= null;
			}
		
			uninstallKeyListener();
			fViewer.setEventConsumer(null);
		}
		
		releaseWidgetToken(type);
	}
	
	/**
	 * Uninstall the key listener from the text viewer's widget.