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

…lines 1–15 unchanged (15 lines)
16// CurrentVersion represents the current build version.
17// This should be the only one.
18var CurrentVersion = Version{
19 Major: 0,
20 Minor: 150,
21 PatchLevel: 0,
22 Suffix: "-DEV",
23}
24

After

…lines 1–15 unchanged (15 lines)
16// CurrentVersion represents the current build version.
17// This should be the only one.
18var CurrentVersion = Version{
19 Major: 0,
20 Minor: 150,
21 PatchLevel: 0,
22 Suffix: "",
23}
24

Before

source_file
comment "// Copyright 2018 The Hugo Authors. All rights reserved."
comment "//"
comment "// Licensed under the Apache License, Version 2.0 (the \"Lice"...
comment "// you may not use this file except in compliance with the L"...
comment "// You may obtain a copy of the License at"
comment "// http://www.apache.org/licenses/LICENSE-2.0"
comment "//"
comment "// Unless required by applicable law or agreed to in writing"...
comment "// distributed under the License is distributed on an \"AS IS"...
comment "// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either expr"...
comment "// See the License for the specific language governing permi"...
comment "// limitations under the License."
package_clause
package "package"
package_identifier "hugo"
comment "// CurrentVersion represents the current build version."
comment "// This should be the only one."
var_declaration
var "var"
var_spec
identifier "CurrentVersion"
= "="
expression_list
composite_literal
type_identifier "Version"
literal_value
{ "{"
keyed_element
literal_element
identifier "Major"
: ":"
literal_element
int_literal "0"
, ","
keyed_element
literal_element
identifier "Minor"
: ":"
literal_element
int_literal "150"
, ","
keyed_element
literal_element
identifier "PatchLevel"
: ":"
literal_element
int_literal "0"
, ","
keyed_element
literal_element
identifier "Suffix"
: ":"
literal_element
interpreted_string_literal
" "\""
interpreted_string_literal_content "-DEV"
" "\""
, ","
} "}"

After

source_file
comment "// Copyright 2018 The Hugo Authors. All rights reserved."
comment "//"
comment "// Licensed under the Apache License, Version 2.0 (the \"Lice"...
comment "// you may not use this file except in compliance with the L"...
comment "// You may obtain a copy of the License at"
comment "// http://www.apache.org/licenses/LICENSE-2.0"
comment "//"
comment "// Unless required by applicable law or agreed to in writing"...
comment "// distributed under the License is distributed on an \"AS IS"...
comment "// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either expr"...
comment "// See the License for the specific language governing permi"...
comment "// limitations under the License."
package_clause
package "package"
package_identifier "hugo"
comment "// CurrentVersion represents the current build version."
comment "// This should be the only one."
var_declaration
var "var"
var_spec
identifier "CurrentVersion"
= "="
expression_list
composite_literal
type_identifier "Version"
literal_value
{ "{"
keyed_element
literal_element
identifier "Major"
: ":"
literal_element
int_literal "0"
, ","
keyed_element
literal_element
identifier "Minor"
: ":"
literal_element
int_literal "150"
, ","
keyed_element
literal_element
identifier "PatchLevel"
: ":"
literal_element
int_literal "0"
, ","
keyed_element
literal_element
identifier "Suffix"
: ":"
literal_element
interpreted_string_literal
" "\""
" "\""
, ","
} "}"