Repository navigation
docs(workbench): replacing the words, and what keeps the line still - #48
Merged
Merged
Conversation
A section for Replace the words, written around the two things a reader needs to know before pressing it. The first is the promise: the rest of the line stays where it was, so a shorter replacement does not pull the following text left. The second is the limit, in the reader's terms rather than the format's. A PDF holds drawing operations, not words, and a page may make each one a line, a word or a single letter -- so documents from a word processor replace cleanly and documents from a typesetter are refused with a count. The page says which is which instead of leaving somebody to guess why a verb did nothing. And the warning that belongs on this one alone: it is the only verb that changes what the document SAYS, so the status line names the old words and the new ones. Covers go-pdfkit/app#92. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A section for Replace the words (app#92), written around the two things a reader needs to know before pressing it.
The promise: the rest of the line stays where it was — a shorter replacement does not pull the following text left, a longer one does not push it right.
The limit, in the reader's terms rather than the format's: a PDF holds drawing operations, not words, and a page may make each one a line, a word or a single letter. So documents from a word processor replace cleanly, documents from a typesetter are refused with a count, and the page says which is which instead of leaving somebody to guess why a verb appeared to do nothing.
⛔ And the warning that belongs to this verb alone: it is the only one that changes what the document says. A mark comes off, a comment comes off, a redaction announces itself — this puts words in the author's mouth, so the status line names both the old and the new.
🤖 Generated with Claude Code