Rename ChunkList.Retransform to ForEachItem

This commit is contained in:
Junegunn Choi
2026-02-24 20:43:43 +09:00
parent ed27d36bb2
commit e7d591af7e
2 changed files with 3 additions and 3 deletions

View File

@@ -463,7 +463,7 @@ func Run(opts *Options) (int, error) {
// Reset cross-line ANSI state before re-processing all items
lineAnsiState = nil
prevLineAnsiState = nil
chunkList.Retransform(func(item *Item) {
chunkList.ForEachItem(func(item *Item) {
origBytes := *item.origText
savedIndex := item.Index()
if newTransformer != nil {