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

1namespace NzbDrone.Core.Music
2{
3 public enum ArtistStatusType
4 {
5 Continuing = 0,
6 Ended = 1
7 }
8}
9

After

1namespace NzbDrone.Core.Music
2{
3 public enum ArtistStatusType
4 {
5 Deleted = -1,
6 Continuing = 0,
7 Ended = 1
8 }
9}
10

Before

compilation_unit
namespace_declaration
namespace "namespace"
qualified_name
qualified_name
identifier "NzbDrone"
. "."
identifier "Core"
. "."
identifier "Music"
declaration_list
{ "{"
enum_declaration
modifier
public "public"
enum "enum"
identifier "ArtistStatusType"
enum_member_declaration_list
{ "{"
enum_member_declaration
identifier "Continuing"
= "="
integer_literal "0"
, ","
enum_member_declaration
identifier "Ended"
= "="
integer_literal "1"
} "}"
} "}"

After

compilation_unit
namespace_declaration
namespace "namespace"
qualified_name
qualified_name
identifier "NzbDrone"
. "."
identifier "Core"
. "."
identifier "Music"
declaration_list
{ "{"
enum_declaration
modifier
public "public"
enum "enum"
identifier "ArtistStatusType"
enum_member_declaration_list
{ "{"
enum_member_declaration
identifier "Deleted"
= "="
prefix_unary_expression
- "-"
integer_literal "1"
, ","
enum_member_declaration
identifier "Continuing"
= "="
integer_literal "0"
, ","
enum_member_declaration
identifier "Ended"
= "="
integer_literal "1"
} "}"
} "}"