Mercury text editor integration