public Editor(Composite parent, int style) {
		super(parent, style);

		if (fontSize == null) {
			try {
				FontData[] fD = this.getFont().getFontData();

				fontSize = fD[0].getHeight();
				
				System.out.println("Editor default font size detected = " + fontSize);
			} catch (Exception ex) {
				ex.printStackTrace();
				fontSize = 10;
			}
		}
		
		FontData[] fontData = this.getFont().getFontData();
		fontData[0].setHeight(fontSize);
		this.setFont(new Font(parent.getDisplay(), fontData[0]));
	}