snippet editing