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// @removeComments: false
2class WebControls {
3 /**
4 * Render a control
5 */
6 createControl(): any {
7 }
8}

After

1// @target: es2015
2// @removeComments: false
3class WebControls {
4 /**
5 * Render a control
6 */
7 createControl(): any {
8 }
9}

Before

program
comment "// @removeComments: false"
class_declaration
class "class"
type_identifier "WebControls"
class_body
{ "{"
comment "/**\r\n * Render a control\r\n */"
method_definition
property_identifier "createControl"
formal_parameters
( "("
) ")"
type_annotation
: ":"
predefined_type
any "any"
statement_block
{ "{"
} "}"
} "}"

After

program
comment "// @target: es2015"
comment "// @removeComments: false"
class_declaration
class "class"
type_identifier "WebControls"
class_body
{ "{"
comment "/**\r\n * Render a control\r\n */"
method_definition
property_identifier "createControl"
formal_parameters
( "("
) ")"
type_annotation
: ":"
predefined_type
any "any"
statement_block
{ "{"
} "}"
} "}"