Heat the butter and half the oil in a saucepan. Add the onion, sugar and thyme and stir well. Reduce the heat to low, cover the saucepan and cook the onion, stirring occasionally for 30–35 minutes, or until the onion is very soft and golden. Season well with salt and pepper, stir the parsley through and keep the onion warm over very low heat.