Bug 30344 Insertion of 'scrapbook' error messages unhelpful
When an error occurs in the scrapbook (e.g. a syntax error) or a result is returned, the scrapbook inserts text in the scrapbook page (which is what VAJ used to do). This has always been remarkably unhelpful; if the developer does not delete the message/result straight away then when selecting a block of text next time may end up with the error message being interpreted, which gives a further error message ad tedium. It would be much better if a pop-up-dialog box was used to indicate of a result/error that could be dismissed leaving the source code intact, or alternatively displaying the result using another mechanism (pop-up text, console for standard output/error etc.)
bundles/org.eclipse.jface/src/org/eclipse/jface/preference/PreferenceConverter.java
* @param name the name of the preference
	 * @param value the new current value of the preference
	 */
	public static void setValue(
		IPreferenceStore store,
		String name,
		FontData[] value) {
		FontData[] oldValue = getFontDataArray(store, name);
		
		if (!Arrays.equals(oldValue, value)) {
			store.putValue(name, getStoredRepresentation(value));
			JFaceResources.getFontRegistry().put(name, value);
			store.firePropertyChangeEvent(name, oldValue, value);
		}
	}
	/**
	 * Returns the stored representation of the given array of FontData objects.
	 * The stored representation has the form FontData;FontData;
	 * Only includes the non-null entries.
	 * 
	 * @param fontData the array of FontData objects
	 * @return the stored representation of the FontData objects
	 */
	private static String getStoredRepresentation(FontData[] fontData) {
		StringBuffer buffer = new StringBuffer();
		for (int i = 0; i < fontData.length; i++) {
			if (fontData[i] != null) {
				buffer.append(fontData[i].toString());
				buffer.append(ENTRY_SEPARATOR);
			}