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/* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4
5/**
6 * @file
7 *
…lines 8–401 unchanged (394 lines)

After

1/* -*- Mode: indent-tabs-mode: nil; js-indent-level: 2 -*- */
2/* vim: set sts=2 sw=2 et tw=80: */
3/* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6
7/**
8 * @file
…lines 9–403 unchanged (395 lines)

Before

program
comment "/* This Source Code Form is subject to the terms of the Mozi"...
comment "/**\n * @file\n *\n * This module provides Promise-based wrappe"...
comment "/**\n * Wraps the given request object, and returns a Promise"...
function_declaration (+84 nodes collapsed)
comment "/**\n * Forwards a set of getter properties from a wrapper cl"...
function_declaration (+66 nodes collapsed)
comment "/**\n * Forwards a set of getter and setter properties from a"...
function_declaration (+90 nodes collapsed)
comment "/**\n * Wraps a set of IDBRequest-based methods via {@link wr"...
function_declaration (+72 nodes collapsed)
comment "/**\n * Forwards a set of methods from a wrapper class to the"...
function_declaration (+67 nodes collapsed)
export_statement (+100 nodes collapsed)
comment "/**\n * Define the Cursor class methods that update the curso"...
function_declaration (+83 nodes collapsed)
expression_statement (+27 nodes collapsed)
expression_statement (+31 nodes collapsed)
expression_statement (+26 nodes collapsed)
export_statement
export "export"
class_declaration
class "class"
identifier "CursorWithValue"
class_heritage
extends "extends"
identifier "Cursor"
class_body
{ "{"
} "}"
expression_statement (+21 nodes collapsed)
class_declaration (+124 nodes collapsed)
expression_statement (+42 nodes collapsed)
class_declaration (+46 nodes collapsed)
expression_statement (+47 nodes collapsed)
export_statement (+109 nodes collapsed)
expression_statement (+36 nodes collapsed)
expression_statement (+21 nodes collapsed)
export_statement (+184 nodes collapsed)
expression_statement (+37 nodes collapsed)
expression_statement (+21 nodes collapsed)
export_statement (+356 nodes collapsed)
for_in_statement (+57 nodes collapsed)
expression_statement (+42 nodes collapsed)
expression_statement (+31 nodes collapsed)
expression_statement (+37 nodes collapsed)

After

program
comment "/* -*- Mode: indent-tabs-mode: nil; js-indent-level: 2 -*- *"...
comment "/* vim: set sts=2 sw=2 et tw=80: */"
comment "/* This Source Code Form is subject to the terms of the Mozi"...
comment "/**\n * @file\n *\n * This module provides Promise-based wrappe"...
comment "/**\n * Wraps the given request object, and returns a Promise"...
function_declaration (+84 nodes collapsed)
comment "/**\n * Forwards a set of getter properties from a wrapper cl"...
function_declaration (+66 nodes collapsed)
comment "/**\n * Forwards a set of getter and setter properties from a"...
function_declaration (+90 nodes collapsed)
comment "/**\n * Wraps a set of IDBRequest-based methods via {@link wr"...
function_declaration (+72 nodes collapsed)
comment "/**\n * Forwards a set of methods from a wrapper class to the"...
function_declaration (+67 nodes collapsed)
export_statement (+100 nodes collapsed)
comment "/**\n * Define the Cursor class methods that update the curso"...
function_declaration (+83 nodes collapsed)
expression_statement (+27 nodes collapsed)
expression_statement (+31 nodes collapsed)
expression_statement (+26 nodes collapsed)
export_statement
export "export"
class_declaration
class "class"
identifier "CursorWithValue"
class_heritage
extends "extends"
identifier "Cursor"
class_body
{ "{"
} "}"
expression_statement (+21 nodes collapsed)
class_declaration (+124 nodes collapsed)
expression_statement (+42 nodes collapsed)
class_declaration (+46 nodes collapsed)
expression_statement (+47 nodes collapsed)
export_statement (+109 nodes collapsed)
expression_statement (+36 nodes collapsed)
expression_statement (+21 nodes collapsed)
export_statement (+184 nodes collapsed)
expression_statement (+37 nodes collapsed)
expression_statement (+21 nodes collapsed)
export_statement (+356 nodes collapsed)
for_in_statement (+57 nodes collapsed)
expression_statement (+42 nodes collapsed)
expression_statement (+31 nodes collapsed)
expression_statement (+37 nodes collapsed)