Why Does the "Edit with AI" Feature Replace the Entire Code Block Instead of Modifying a Single Function?

Posted thread to Discourse: Why Does the "Edit with AI" Feature Replace the Entire Code Block Instead of Just Editing It?