Bug 43488 [typing] BadPositionCategoryException in LinkedPositionManager
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/link/contentassist/ContentAssistant2.java
/**
	 * Fetches the color specified by <code>key</code> from the given <code>IPreferenceStore</code>.
	 * The color is managed by <code>manager</code> so we don't have to deal with its disposal.
	 * 
	 * @param store the preference store
	 * @param key the key into <code>store</code>
	 * @param manager the color manager for the returned color
	 * @return a color as specified by the value for <code>key</code> in <code>store</code>, managed by <code>manager</code>
	 */
	private static Color getColor(IPreferenceStore store, String key, IColorManager manager) {
		RGB rgb= PreferenceConverter.getColor(store, key);
		return manager.getColor(rgb);
	}
	
	/**
	 * Sets the document partitioning this content assistant is using.
	 * 
	 * @param partitioning the document partitioning for this content assistant
	 */
	public void setDocumentPartitioning(String partitioning) {
		Assert.isNotNull(partitioning);
		fPartitioning= partitioning;
	}
	
	/*
	 * @see org.eclipse.jface.text.contentassist.IContentAssistantExtension#getDocumentPartitioning()
	 * @since 3.0
	 */
	public String getDocumentPartitioning() {