set ace editor mode