Implementing snippet editing, take 1.