Improved general code editing