Bug 110003 [content assist] Strange cycling behaviour
20050920 - Go to the keys preference page and configure Ctrl + Shift + Space to 'Specific Content Assist (type: Template proposals)', change the normal Content Assist from Ctrl + Space to somthing else - in the Java editor type for and press Ctrl + Shift + Space - templates show up The dialog reads: Press 'Ctrl + Space' for templates -> Should probably be 'Ctrl + Shift + Space', 'Ctrl + Space' isn't doing anything anymore (as I redefied the setting) -> Switching to templates isn't really that useful move the cursor one back. Suddly you get all proposals
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java
* Returns the length of the given Java element.
		 *
		 * @param element	Java element
		 * @return Length of the given Java element
		 */
		private int getLength(IJavaElement element) {
			if (element instanceof ISourceReference) {
				ISourceReference sr= (ISourceReference) element;
				try {
					ISourceRange srcRange= sr.getSourceRange();
					if (srcRange != null)
						return srcRange.getLength();
				} catch (JavaModelException e) {
				}
			}
			return -1;
		}
		/**
		 * Returns the updated java element for the old java element.
		 *
		 * @param element Old Java element
		 * @return Updated Java element
		 */
		private IJavaElement findElement(IJavaElement element) {
			if (element == null)
				return null;
			IWorkingCopyManager manager= JavaPlugin.getDefault().getWorkingCopyManager();
			ICompilationUnit unit= manager.getWorkingCopy(getEditorInput());
			if (unit != null) {
				try {