working mercury text editing