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 2021 Gin Core Team. All rights reserved.
2// Use of this source code is governed by a MIT style
3// license that can be found in the LICENSE file.
4
5//go:build !go1.17
6// +build !go1.17
7
…lines 8–32 unchanged (25 lines)

After

1// Copyright 2021 Gin Core Team. All rights reserved.
2// Use of this source code is governed by a MIT style
3// license that can be found in the LICENSE file.
4
5//go:build !go1.17
6// +build !go1.17
7
…lines 8–32 unchanged (25 lines)

Before

source_file
comment "// Copyright 2021 Gin Core Team. All rights reserved."
comment "// Use of this source code is governed by a MIT style"
comment "// license that can be found in the LICENSE file."
comment "//go:build !go1.17"
comment "// +build !go1.17"
package_clause
package "package"
package_identifier "gin"
import_declaration (+35 nodes collapsed)
function_declaration (+190 nodes collapsed)

After

source_file
comment "// Copyright 2021 Gin Core Team. All rights reserved."
comment "// Use of this source code is governed by a MIT style"
comment "// license that can be found in the LICENSE file."
comment "//go:build !go1.17"
comment "// +build !go1.17"
package_clause
package "package"
package_identifier "gin"
import_declaration (+35 nodes collapsed)
function_declaration (+190 nodes collapsed)