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
Position position= positions[i];
					if (position.isDeleted())
						continue;
					int offset= position.getOffset();
					int length= position.getLength();
					int end= offset + length;
					if (offset >= eventOffset + eventOldLength)
						
						
						position.setOffset(offset + deltaLength);
					else if (end <= eventOffset) {
						
						
					} else if (offset <= eventOffset && end >= eventOffset + eventOldLength) {
						
						position.setLength(length + deltaLength);
					} else if (offset < eventOffset) {
						
						int newEnd= eventOffset;
						position.setLength(newEnd - offset);
					} else if (end > eventOffset + eventOldLength) {
						
						
						
						int newOffset= eventOffset + eventNewLength;
						position.setOffset(newOffset);
						position.setLength(end - newOffset);
					} else {
						
						position.delete();