Extracted long edit method