added saving and setting of ace text styles