What if you edit before AI replies?
Waiting for a result and reviewing a preview are different stages. How Textend handles a moved, rewritten, or deleted target—and why a quick edit may be cancelled and need a fresh request.

Distinguish waiting for a result from reviewing a preview
A document can keep changing while AI is involved. Authors add material, revise wording, and reconsider decisions after reading a suggestion. The editor needs to preserve that new work rather than letting an answer to an earlier request overwrite the current draft at an old position.
Handling depends on the stage. While a quick edit is pending, its target passage is temporarily protected and its result is checked against the current document version. A local preview already displayed in the draft can map its position through later edits, with another text check before acceptance. These are different behaviors, not a promise that every suggestion automatically follows every change.
For the author, the first concern is retaining changes in the current draft, then deciding what to do from the preview or feedback. An unusable suggestion may require a new request, without requiring completed writing to be rolled back to an earlier version.
A displayed local preview depends on what changed
The distinctions below concern a local in-place preview that is already visible but has not been accepted. Edits outside its target differ from edits inside it: the former may move the location, while the latter changes the content the proposal would replace.
Seeing a suggestion beside the text does not establish that it can still be applied. Whether the preview remains, whether its target can be located, and whether acceptance is permitted depend on the current content. Substantial rewriting or deletion can also remove an old preview with its range.
| Document change | Local-preview handling | What to do next |
|---|---|---|
| Insert or delete earlier text; target text unchanged | Map its position through the edit and recheck the target before acceptance | Review the mapped target and context before accepting |
| Edit text inside the target | The old replacement cannot directly overwrite new wording; the preview may remain or be removed | Keep your changes and request an edit to the current text |
| Delete the entire target range | The target is gone and its local preview is removed with the range | Select existing content for a new request rather than forcing the old replacement |
A pending quick edit can be cancelled when the document changes
Quick editing needs a separate explanation. After a request starts, Textend temporarily protects the target passage against direct edits while it is being processed. That protection is released when the task finishes, fails, or is superseded by a new request.
Editing outside the target remains possible, but quick editing currently uses a strict version check. A document edit during the wait—even before the target—can discard the old response with the message “The document changed; the quick preview was cancelled.” The result does not automatically become a new usable preview.
If this message appears, keep the work you have done and start a fresh request against the current version. This differs from mapping a preview that has already appeared. The ability to map that preview does not guarantee that a pending quick edit can reuse its original request.
Finish a round of manual edits before requesting and reviewing a quick edit. Use discussion first when the direction still needs thought, then request a specific revision once it is clear. This can also reduce token use from restarting requests after document changes. Cancelling an old result protects the current draft; it does not mean a request already sent to the AI service becomes free.
Check position and original text separately
Position mapping accounts for displacement caused by editing. A relevant range can move when earlier text is inserted or deleted instead of staying at its initial character positions. A mapped range alone does not establish that an old replacement remains appropriate.
When applying a local preview, Textend also checks the current text in its range. If the author has changed it, the old proposal cannot overwrite that new work. This check needs to hold beyond the continued presence of a button or card. The text at the moment of application is what must be protected.
Collaboration proposals have their own per-operation location and application checks. After a version change, existing targets can be rechecked against the current text. An operation without a confirmed target cannot rely on old coordinates. A valid local preview does not establish that an entire proposal spanning several places can be accepted.
Repeated text and changed context require care
A sentence can occur more than once, and similar wording does not identify the same editing target. Relocation needs sufficiently clear evidence in Textend. When ambiguity remains, the first search match is not an acceptable basis for writing into the document.
Authors can select the intended content again so a new request starts from a defined range and current text. That extra selection is easier to handle than discovering an edit in the wrong paragraph. An old suggestion can still inform a decision without being forced into a similar-looking passage.
Context can change even when the target text does not. Position and text checks protect the editing target; the author still needs to assess coherence and tone alongside nearby content. An applicable edit is not necessarily a desirable one.
Check again on acceptance, not only when the result arrives
Editing can continue between a result arriving and its acceptance. Textend therefore checks current conditions when applying the change. A successful earlier location is not permanent permission to replace text. An old replacement is not used when its target or state no longer qualifies.
Successful acceptance becomes an undoable document edit. Undo addresses whether an accepted revision works. A fresh request addresses whether old advice fits current content. They serve different purposes, so retaining an old suggestion need not require undoing later writing.
Start the next request from the current draft
When an old suggestion is unusable, first establish that your new text is intact, then select the part that needs help now. State the facts, tone, and constraints to preserve in a fresh request. There is no need to restore the entire document the model originally saw.
A suggestion can also leave behind a useful direction. Authors can keep writing themselves or discuss the changed article before deciding whether another revision is needed. Textend aims to preserve the freedom to keep editing the current draft; the usefulness of an old answer depends on that draft.