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

1using NzbDrone.Common.Messaging;
2
3namespace NzbDrone.Core.Lifecycle
4{
5 public class ApplicationStartedEvent : IEvent
6 {
7 }
8}
9

After

1using NzbDrone.Common.Messaging;
2
3namespace NzbDrone.Core.Lifecycle
4{
5 [LifecycleEvent]
6 public class ApplicationStartedEvent : IEvent
7 {
8 }
9}
10

Before

compilation_unit
using_directive
using "using"
qualified_name
qualified_name
identifier "NzbDrone"
. "."
identifier "Common"
. "."
identifier "Messaging"
; ";"
namespace_declaration
namespace "namespace"
qualified_name
qualified_name
identifier "NzbDrone"
. "."
identifier "Core"
. "."
identifier "Lifecycle"
declaration_list
{ "{"
class_declaration
modifier
public "public"
class "class"
identifier "ApplicationStartedEvent"
base_list
: ":"
identifier "IEvent"
declaration_list
{ "{"
} "}"
} "}"

After

compilation_unit
using_directive
using "using"
qualified_name
qualified_name
identifier "NzbDrone"
. "."
identifier "Common"
. "."
identifier "Messaging"
; ";"
namespace_declaration
namespace "namespace"
qualified_name
qualified_name
identifier "NzbDrone"
. "."
identifier "Core"
. "."
identifier "Lifecycle"
declaration_list
{ "{"
class_declaration
attribute_list
[ "["
attribute
identifier "LifecycleEvent"
] "]"
modifier
public "public"
class "class"
identifier "ApplicationStartedEvent"
base_list
: ":"
identifier "IEvent"
declaration_list
{ "{"
} "}"
} "}"