Bug 84573 Copy/Paste Problems with nightly build (20040207)
I am doing some testing with the nightly build (20040207) and I was copy some text from a Java editor to the launch configuration dialog. When I tried to paste the text into the dialog, it was pasted back into the editor. This could be an SWT problem but Tod felt that it may also be related to the Command rework so I'm giving it to UI to start with.
bundles/org.eclipse.jface/src/org/eclipse/jface/bindings/BindingManager.java
/**
	 * The separator character used in locales.
	 */
	private static final String LOCALE_SEPARATOR = "_"; 
	/**
	 * <p>
	 * Takes a fully-specified string, and converts it into an array of
	 * increasingly less-specific strings. So, for example, "en_GB" would become
	 * ["en_GB", "en", "", null].
	 * </p>
	 * <p>
	 * This method runs in linear time (O(n)) over the length of the string.
	 * </p>
	 * 
	 * @param string
	 *            The string to break apart into its less specific components;
	 *            should not be <code>null</code>.
	 * @param separator
	 *            The separator that indicates a separation between a degrees of
	 *            specificity; should not be <code>null</code>.
	 * @return An array of strings from the most specific (i.e.,
	 *         <code>string</code>) to the least specific (i.e.,
	 *         <code>null</code>).
	 */
	private static final String[] expand(String string, final String separator) {
		
		if (string == null || separator == null) {
			return new String[0];
		}
		final List strings = new ArrayList();