Bug 84353 [typing] Hippie completion fills undo stack
I20050202-0800 Toggling through the lists adds each item to the undo stack and hence Undo (Ctrl+Z) undoes each by each.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaMoveLinesAction.java
* Set to true before modifying the document, to false after.
		 */
		boolean isChanging= false;
		
		
		private boolean fEditInProgress= false;
		
		private final ExitStrategy fExitStrategy= new ExitStrategy();
		
		public SharedState(CompilationUnitEditor editor) {
			fEditor= editor;
		}
		
		/**
		 * Ends the compound change.
		 */
		public void beginCompoundEdit() {
			if (fEditInProgress || fEditor == null)
				return;
			fEditInProgress= true;
			fExitStrategy.install();
			IRewriteTarget target= (IRewriteTarget)fEditor.getAdapter(IRewriteTarget.class);
			if (target != null) {
				target.beginCompoundChange();
			}
		}
		/**
		 * Ends the compound change.
		 */
		public void endCompoundEdit() {