1 /*******************************************************************************
2 * Copyright (c) 2000, 2003 IBM Corporation and others.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Common Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/cpl-v10.html
9 * IBM Corporation - initial API and implementation
10 *******************************************************************************/
11 package net.sourceforge.phpdt.internal.ui.text;
13 import net.sourceforge.phpdt.internal.ui.text.TypingRun.ChangeType;
16 * Listener for <code>TypingRun</code> events.
20 public interface ITypingRunListener {
22 * Called when a new <code>TypingRun</code> is started.
25 * the newly started run
27 void typingRunStarted(TypingRun run);
30 * Called whenever a <code>TypingRun</code> is ended.
35 * the type of change that caused the end of the run
37 void typingRunEnded(TypingRun run, ChangeType reason);