Bug 41750 [templates] Code assist not narrowing on templates
Build: I20030820 1) Start with: class A { public void foo() { sys } } 2) With the cursor after "sys", invoke code assist. Note that the templates "sysout", "syserr", etc are in the list. 3) Now type the letter "o". The list disappears, although "sysout" is still a valid match. Expect: it will fill in "sysout" since it's the only valid match 4) Delete the letter "o" and invoke code assist again. 5) Type the letter "t". The list narrows to exclude "sysout". 6) With code-assist still up, hit backspace. Now you have "sys" again, but it no longer recommends "sysout" as a possible completion.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/IDEWorkbenchAdvisor.java
* 
	 * @param symbolicName the symbolic name of the image
	 * @param path the path of the image file; this path is relative to the base
	 * of the IDE plug-in
	 * @param shared <code>true</code> if this is a shared image, and
	 * <code>false</code> if this is not a shared image
	 * @see IWorkbenchConfigurer#declareImage
	 */
	private void declareWorkbenchImage(String symbolicName, String path, boolean shared) {
		URL url = null;
		try {
			URL URL_BASIC = Platform.getPlugin(IDEWorkbenchPlugin.IDE_WORKBENCH).getDescriptor().getInstallURL();
			url = new URL(URL_BASIC, path);
		} catch (MalformedURLException e) {
		    
		}
		ImageDescriptor desc = ImageDescriptor.createFromURL(url);
		getWorkbenchConfigurer().declareImage(symbolicName, desc, shared);
	}	
	
	public void fillActionBars(IWorkbenchWindow window, IActionBarConfigurer actionConfigurer, int flags) {
		
		
		WorkbenchActionBuilder actionBuilder = null;
		IWorkbenchWindowConfigurer windowConfigurer = getWorkbenchConfigurer().getWindowConfigurer(window);
		
		
		
		actionBuilder = (WorkbenchActionBuilder) windowConfigurer.getData(ACTION_BUILDER);
		if (actionBuilder == null) {