{"modulePath":"github.com/pencode-labs/pencode","version":"v0.1.0-rc.15","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package textchange\n\nPackage textchange computes UTF-8 edit ranges shared by protocol consumers.\n\n## Functions\n\n```go\nfunc Between(old, next string) (start, oldEnd, newEnd int)\n```\nBetween returns one replacement \\[start, oldEnd) -\u003e next\\[start:newEnd]. Compare blocks before individual bytes so late edits do not decode the entire common prefix. Keep CRLF and UTF-8 characters atomic at both endpoints.\n\n","path":"github.com/pencode-labs/pencode/textchange","name":"textchange","synopsis":"Package textchange computes UTF-8 edit ranges shared by protocol consumers.","isRedistributable":true}
