Code view:

A painting is a person's account of this edit as text, recorded independently of the node mapping - a rendering often has several equally defensible answers where the mapping has one. Deletions and insertions carry no position on the opposite side in a painting, so that panel draws no caret for them.

Before

1// Copyright 2025 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// This file is tested when running "go test -run Manual"
6// without source arguments. Use for one-off debugging.
7
8package p
9

After

1// Copyright 2026 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// This file is tested when running "go test -run Manual"
6// without source arguments. Use for one-off debugging.
7
8package p
9

Before

source_file
comment "// Copyright 2025 The Go Authors. All rights reserved."
comment "// Use of this source code is governed by a BSD-style"
comment "// license that can be found in the LICENSE file."
comment "// This file is tested when running \"go test -run Manual\""
comment "// without source arguments. Use for one-off debugging."
package_clause
package "package"
package_identifier "p"

After

source_file
comment "// Copyright 2026 The Go Authors. All rights reserved."
comment "// Use of this source code is governed by a BSD-style"
comment "// license that can be found in the LICENSE file."
comment "// This file is tested when running \"go test -run Manual\""
comment "// without source arguments. Use for one-off debugging."
package_clause
package "package"
package_identifier "p"