Mex editor