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
if (provider != null) {
				IDocument document= provider.getDocument(getEditorInput());
				if (document != null) {
					int end= offset + length;
					int documentLength= document.getLength();
					return 0 <= offset  && offset <= documentLength && 0 <= end && end <= documentLength;
				}
			}
			return false;
		}
	}
	/**
	 * Remembers additional data for a given
	 * offset to be able restore it later.
	 *
	 * @since 3.0
	 */
	private class RememberedOffset {
		
		private int fLine;
		
		private int fColumn;
		
		private IJavaElement fElement;
		
		private int fElementLine;
		/**
		 * Store visual properties of the given offset.
		 *
		 * @param offset Offset in the document