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 2017 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// +build !linux,!netbsd
6
7package socket
8
9import "net"
10
…lines 11–22 unchanged (12 lines)

After

1// Copyright 2017 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// +build !aix,!linux,!netbsd
6
7package socket
8
9import "net"
10
11type mmsghdr struct{}
…lines 12–22 unchanged (11 lines)

Before

source_file
comment "// Copyright 2017 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 "// +build !linux,!netbsd"
package_clause
package "package"
package_identifier "socket"
import_declaration
import "import"
import_spec
interpreted_string_literal
" "\""
interpreted_string_literal_content "net"
" "\""
type_declaration
type "type"
type_spec
type_identifier "mmsghdr"
struct_type
struct "struct"
field_declaration_list
{ "{"
} "}"
type_declaration
type "type"
type_spec
type_identifier "mmsghdrs"
slice_type
[ "["
] "]"
type_identifier "mmsghdr"
method_declaration (+71 nodes collapsed)
method_declaration (+58 nodes collapsed)

After

source_file
comment "// Copyright 2017 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 "// +build !aix,!linux,!netbsd"
package_clause
package "package"
package_identifier "socket"
import_declaration
import "import"
import_spec
interpreted_string_literal
" "\""
interpreted_string_literal_content "net"
" "\""
type_declaration
type "type"
type_spec
type_identifier "mmsghdr"
struct_type
struct "struct"
field_declaration_list
{ "{"
} "}"
type_declaration
type "type"
type_spec
type_identifier "mmsghdrs"
slice_type
[ "["
] "]"
type_identifier "mmsghdr"
method_declaration (+71 nodes collapsed)
method_declaration (+58 nodes collapsed)