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--DOC_GEN_IMAGE --DOC_HIDE
2-- Align a client to the top right of the parent area. --DOC_HEADER
3-- @tparam drawable d A drawable (like `client`, `mouse` or `wibox`) --DOC_HEADER
4-- @tparam[opt={}] table args Other arguments") --DOC_HEADER
5-- @treturn table The new geometry --DOC_HEADER
6-- @staticfct awful.placement.top_right --DOC_HEADER
7
8screen[1]._resize {width = 128, height = 96} --DOC_HIDE
9local awful = {placement = require("awful.placement")} --DOC_HIDE
10local c = client.gen_fake {x = 45, y = 35, width=40, height=30} --DOC_HIDE
11
12awful.placement.top_right(client.focus)
13
…lines 14–18 unchanged (5 lines)

After

1--DOC_GEN_IMAGE --DOC_HIDE
2-- Align a client to the top right of the parent area. --DOC_HEADER
3-- @tparam drawable d A drawable (like `client`, `mouse` or `wibox`) --DOC_HEADER
4-- @tparam[opt={}] table args Other arguments") --DOC_HEADER
5-- @treturn table The new geometry --DOC_HEADER
6-- @staticfct awful.placement.top_right --DOC_HEADER
7
8require("awful.tag").add("1", {screen=screen[1], selected=true}) --DOC_HIDE
9screen[1]._resize {width = 128, height = 96} --DOC_HIDE
10local awful = {placement = require("awful.placement")} --DOC_HIDE
11local c = client.gen_fake {x = 45, y = 35, width=40, height=30} --DOC_HIDE
12
13awful.placement.top_right(client.focus)
14
…lines 15–19 unchanged (5 lines)

Before

chunk
comment
-- "--"
comment_content "DOC_GEN_IMAGE --DOC_HIDE"
comment
-- "--"
comment_content " Align a client to the top right of the parent area. --DOC_H"...
comment
-- "--"
comment_content " @tparam drawable d A drawable (like `client`, `mouse` or `w"...
comment
-- "--"
comment_content " @tparam[opt={}] table args Other arguments\") --DOC_HEADER"
comment
-- "--"
comment_content " @treturn table The new geometry --DOC_HEADER"
comment
-- "--"
comment_content " @staticfct awful.placement.top_right --DOC_HEADER"
function_call (+22 nodes collapsed)
comment
-- "--"
comment_content "DOC_HIDE"
variable_declaration (+22 nodes collapsed)
comment
-- "--"
comment_content "DOC_HIDE"
variable_declaration (+35 nodes collapsed)
comment
-- "--"
comment_content "DOC_HIDE"
function_call
dot_index_expression
dot_index_expression
identifier "awful"
. "."
identifier "placement"
. "."
identifier "top_right"
arguments
( "("
dot_index_expression
identifier "client"
. "."
identifier "focus"
) ")"
function_call (+64 nodes collapsed)
comment
-- "--"
comment_content "DOC_HIDE"
comment
-- "--"
comment_content "DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:"...

After

chunk
comment
-- "--"
comment_content "DOC_GEN_IMAGE --DOC_HIDE"
comment
-- "--"
comment_content " Align a client to the top right of the parent area. --DOC_H"...
comment
-- "--"
comment_content " @tparam drawable d A drawable (like `client`, `mouse` or `w"...
comment
-- "--"
comment_content " @tparam[opt={}] table args Other arguments\") --DOC_HEADER"
comment
-- "--"
comment_content " @treturn table The new geometry --DOC_HEADER"
comment
-- "--"
comment_content " @staticfct awful.placement.top_right --DOC_HEADER"
function_call
dot_index_expression
function_call
identifier "require"
arguments
( "("
string
" "\""
string_content "awful.tag"
" "\""
) ")"
. "."
identifier "add"
arguments
( "("
string
" "\""
string_content "1"
" "\""
, ","
table_constructor
{ "{"
field
identifier "screen"
= "="
bracket_index_expression
identifier "screen"
[ "["
number "1"
] "]"
, ","
field
identifier "selected"
= "="
true "true"
} "}"
) ")"
comment
-- "--"
comment_content "DOC_HIDE"
function_call (+22 nodes collapsed)
comment
-- "--"
comment_content "DOC_HIDE"
variable_declaration (+22 nodes collapsed)
comment
-- "--"
comment_content "DOC_HIDE"
variable_declaration (+35 nodes collapsed)
comment
-- "--"
comment_content "DOC_HIDE"
function_call
dot_index_expression
dot_index_expression
identifier "awful"
. "."
identifier "placement"
. "."
identifier "top_right"
arguments
( "("
dot_index_expression
identifier "client"
. "."
identifier "focus"
) ")"
function_call (+64 nodes collapsed)
comment
-- "--"
comment_content "DOC_HIDE"
comment
-- "--"
comment_content "DOC_HIDE vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:"...