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
/** 
	 * Preference key used to look up display tab width.
	 * 
	 * @since 2.0
	 * @deprecated As of 3.0 replaced by {@link ExtendedTextEditorPreferenceConstants#EDITOR_TAB_WIDTH}
	 */
	public final static String PREFERENCE_TAB_WIDTH= PreferenceConstants.EDITOR_TAB_WIDTH;
	/** 
	 * Preference key for inserting spaces rather than tabs.
	 * 
	 * @since 2.0
	 */
	public final static String SPACES_FOR_TABS= PreferenceConstants.EDITOR_SPACES_FOR_TABS;
	
	private JavaTextTools fJavaTextTools;
	private ITextEditor fTextEditor;
	private String fDocumentPartitioning;
	
	/**
	 * The Java source code scanner