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
FontData[] fontData = new FontData[numTokens];
		for (int i = 0; i < numTokens; i++) {
			try {
				fontData[i] = new FontData(tokenizer.nextToken());
			} catch (SWTException error) {
				return FONTDATA_ARRAY_DEFAULT_DEFAULT;
			} catch (IllegalArgumentException error) {
				return FONTDATA_ARRAY_DEFAULT_DEFAULT;
			}
		}
		return fontData;
	}
	
	/**
	 * Reads the supplied string and returns its corresponding
	 * FontData. If it cannot be read then the default FontData
	 * will be returned.
	 * 
	 * @param fontDataValue the string value for the font data  
	 * @return the font data
	 */
	public static FontData[] readFontData(String fontDataValue){
		return basicGetFontData(fontDataValue);
	}
	/**
	 * Helper method to construct a point from the given string.
	 */
	private static Point basicGetPoint(String value) {
		Point dp = new Point(POINT_DEFAULT_DEFAULT.x, POINT_DEFAULT_DEFAULT.y);
		if (IPreferenceStore.STRING_DEFAULT_DEFAULT.equals(value))