Bug 53000 [templates] NLS template doesn't work in line comments
Build 20040219 I defined a template to map 'nls' to '//$NON-NLS-1$' In a code line where 2 string literals occur, I completed on nls first and inserted the template. Then right behind it (after one space) I tried again to complete on nls, and this time it did not work anymore. This used to be working fine before.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaSourceViewerConfiguration.java
* XXX: Note that this is work in progress and API is still subject to change.
	 * </p>
	 * 
	 * @param preferenceStore the preference store to initialize this configuration
	 * 
	 * @since 3.0
	 */
	public void setNewPreferenceStore(IPreferenceStore preferenceStore) {
		Assert.isTrue(isNewSetup());
		
		fNewPreferenceStore= preferenceStore;
		initializeScanners();
	}
	
	/**
	 * @return <code>true</code> iff the new setup without text tools is in use.
	 * 
	 * @since 3.0
	 */
	private boolean isNewSetup() {
		return fJavaTextTools == null;
	}
	/**
	 * Creates and returns a new preference store which combines the preference
	 * stores from the text tools.
	 *
	 * @param tools Text tools
	 * @return the combined preference store
	 * 
	 * @since 3.0