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
	 * @return the font-valued preference
	 */
	public static FontData[] getFontDataArray(
		IPreferenceStore store,
		String name) {
		return basicGetFontData(store.getString(name));
	}
	/**
	 * Returns the current value of the first entry of the
	 * font-valued preference with the
	 * given name in the given preference store.
	 * Returns the default-default value (<code>FONTDATA_ARRAY_DEFAULT_DEFAULT</code>) 
	 * if there is no preference with the given name, or if the current value 
	 * cannot be treated as font data.
	 * This API is provided for backwards compatibility. It is
	 * recommended that <code>getFontDataArray</code> is used instead.
	 *
	 * @param store the preference store
	 * @param name the name of the preference
	 * @return the font-valued preference
	 */
	public static FontData getFontData(IPreferenceStore store, String name) {
		return getFontDataArray(store, name)[0];
	}
	/**
	 * Returns the current value of the point-valued preference with the
	 * given name in the given preference store.
	 * Returns the default-default value (<code>POINT_DEFAULT_DEFAULT</code>) 
	 * if there is no preference with the given name, or if the current value