Previously, we were using display text, but this isn't always correct. Now, we just attempt to determine what text Copilot wants to insert by finding a prefix and suffix in the existing text with the suggested text. Co-Authored-By: Nathan Sobo <nathan@zed.dev>