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–10 unchanged (10 lines)
11 before_each(function()
12 widget = slider()
13 end)
14
15 describe("constructor", function()
16 it("applies arguments", function()
17 local widget = slider({ value = 10 })
18
19 assert.is.equal(widget.value, 10)
20 end)
21 end)
22
23 describe("signal property::value", function()
…lines 24–53 unchanged (30 lines)

After

…lines 1–10 unchanged (10 lines)
11 before_each(function()
12 widget = slider()
13 end)
14
15 describe("constructor", function()
16 it("applies arguments", function()
17 widget = slider({ value = 10 })
18
19 assert.is.equal(widget.value, 10)
20 end)
21 end)
22
23 describe("signal property::value", function()
…lines 24–53 unchanged (30 lines)

Before

chunk
comment
-- "--"
comment_content "------------------------------------------------------------"...
comment
-- "--"
comment_content " @author Aire-One"
comment
-- "--"
comment_content " @copyright 2018 Aire-One"
comment
-- "--"
comment_content "------------------------------------------------------------"...
variable_declaration
local "local"
assignment_statement
variable_list
identifier "slider"
= "="
expression_list
function_call
identifier "require"
arguments
( "("
string
" "\""
string_content "wibox.widget.slider"
" "\""
) ")"
function_call
identifier "describe"
arguments
( "("
string
" "\""
string_content "wibox.widget.slider"
" "\""
, ","
function_definition
function "function"
parameters
( "("
) ")"
block
variable_declaration
local "local"
assignment_statement
variable_list
identifier "widget"
= "="
expression_list
nil "nil"
function_call (+22 nodes collapsed)
function_call
identifier "describe"
arguments
( "("
string
" "\""
string_content "constructor"
" "\""
, ","
function_definition
function "function"
parameters
( "("
) ")"
block
function_call
identifier "it"
arguments
( "("
string
" "\""
string_content "applies arguments"
" "\""
, ","
function_definition
function "function"
parameters
( "("
) ")"
block
variable_declaration
local "local"
assignment_statement
variable_list
identifier "widget"
= "="
expression_list
function_call
identifier "slider"
arguments
( "("
table_constructor
{ "{"
field
identifier "value"
= "="
number "10"
} "}"
) ")"
function_call
dot_index_expression
dot_index_expression
identifier "assert"
. "."
identifier "is"
. "."
identifier "equal"
arguments
( "("
dot_index_expression
identifier "widget"
. "."
identifier "value"
, ","
number "10"
) ")"
end "end"
) ")"
end "end"
) ")"
function_call (+212 nodes collapsed)
end "end"
) ")"
comment
-- "--"
comment_content " vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabs"...

After

chunk
comment
-- "--"
comment_content "------------------------------------------------------------"...
comment
-- "--"
comment_content " @author Aire-One"
comment
-- "--"
comment_content " @copyright 2018 Aire-One"
comment
-- "--"
comment_content "------------------------------------------------------------"...
variable_declaration
local "local"
assignment_statement
variable_list
identifier "slider"
= "="
expression_list
function_call
identifier "require"
arguments
( "("
string
" "\""
string_content "wibox.widget.slider"
" "\""
) ")"
function_call
identifier "describe"
arguments
( "("
string
" "\""
string_content "wibox.widget.slider"
" "\""
, ","
function_definition
function "function"
parameters
( "("
) ")"
block
variable_declaration
local "local"
assignment_statement
variable_list
identifier "widget"
= "="
expression_list
nil "nil"
function_call (+22 nodes collapsed)
function_call
identifier "describe"
arguments
( "("
string
" "\""
string_content "constructor"
" "\""
, ","
function_definition
function "function"
parameters
( "("
) ")"
block
function_call
identifier "it"
arguments
( "("
string
" "\""
string_content "applies arguments"
" "\""
, ","
function_definition
function "function"
parameters
( "("
) ")"
block
assignment_statement
variable_list
identifier "widget"
= "="
expression_list
function_call
identifier "slider"
arguments
( "("
table_constructor
{ "{"
field
identifier "value"
= "="
number "10"
} "}"
) ")"
function_call
dot_index_expression
dot_index_expression
identifier "assert"
. "."
identifier "is"
. "."
identifier "equal"
arguments
( "("
dot_index_expression
identifier "widget"
. "."
identifier "value"
, ","
number "10"
) ")"
end "end"
) ")"
end "end"
) ")"
function_call (+212 nodes collapsed)
end "end"
) ")"
comment
-- "--"
comment_content " vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabs"...