Add simple pattern editing