Preparing source edit