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
/**
	 * State shared by the Move / Copy lines action quadruple.
	 * @since 3.1
	 */
	private static final class SharedState {
		/**
		 * Detects the end of a compound edit command. The user is assumed to have ended the command
		 * when
		 * <ul>
		 * <li>entering any text with a different key combination than the one used to move / copy</li>
		 * <li>clicking anywhere in the editor</li>
		 * <li>the viewer loses focus</li>
		 * <li>the underlying document gets changed due to anything but this action</li>
		 * </ul>
		 */
		private final class ExitStrategy implements MouseListener, FocusListener, IDocumentListener, ISelectionChangedListener {
			
			/**
			 * The widget this instance is registered with for <code>VerifyKey</code>-, <code>Mouse</code>-
			 * and <code>FocusEvent</code>s, or <code>null</code> if not registered.
			 */
			private StyledText fWidgetEventSource;
			/**
			 * The document this instance is registered with for <code>DocumentEvent</code>s,
			 * or <code>null</code> if not registered.
			 */
			private IDocument fDocumentEventSource;
			
			private ISelectionProvider fSelectionEventSource;
			/**