patch editor