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–29 unchanged (29 lines)
30 ["mouse.resize_top_left" ] = "top_left_corner",
31 ["mouse.resize_top_right" ] = "top_right_corner",
32 ["mouse.resize_bottom_left" ] = "bottom_left_corner",
33 ["mouse.resize_bottom_right"] = "bottom_right_corner",
34}
35
36--- The resize cursor name.
37-- @beautiful beautiful.cursor_mouse_resize
38-- @tparam[opt=cross] string cursor
39
40--- The move cursor name.
41-- @beautiful beautiful.cursor_mouse_move
42-- @tparam[opt=fleur] string cursor
43
44--- Set the resize mode.
45-- The available modes are:
46--
47-- * **live**: Resize the layout everytime the mouse moves.
48-- * **after**: Resize the layout only when the mouse is released.
…lines 49–258 unchanged (210 lines)

After

…lines 1–28 unchanged (28 lines)
29 ["mouse.resize_bottom" ] = "sb_v_double_arrow",
30 ["mouse.resize_top_left" ] = "top_left_corner",
31 ["mouse.resize_top_right" ] = "top_right_corner",
32 ["mouse.resize_bottom_left" ] = "bottom_left_corner",
33 ["mouse.resize_bottom_right"] = "bottom_right_corner",
34}
35
36--- Set the resize mode.
37-- The available modes are:
38--
39-- * **live**: Resize the layout everytime the mouse moves.
40-- * **after**: Resize the layout only when the mouse is released.
41--
…lines 42–250 unchanged (209 lines)

Before

chunk
comment
-- "--"
comment_content "------------------------------------------------------------"...
comment
-- "--"
comment_content "- An extensible mouse resizing handler."
comment
-- "--"
comment_content ""
comment
-- "--"
comment_content " This module offers a resizing and moving mechanism for draw"...
comment
-- "--"
comment_content " clients and wiboxes."
comment
-- "--"
comment_content ""
comment
-- "--"
comment_content " @author Emmanuel Lepage Vallee <elv1313@gmail.com>"
comment
-- "--"
comment_content " @copyright 2016 Emmanuel Lepage Vallee"
comment
-- "--"
comment_content " @submodule mouse"
comment
-- "--"
comment_content "------------------------------------------------------------"...
variable_declaration
local "local"
assignment_statement
variable_list
identifier "aplace"
= "="
expression_list
function_call
identifier "require"
arguments
( "("
string
" "\""
string_content "awful.placement"
" "\""
) ")"
variable_declaration
local "local"
assignment_statement
variable_list
identifier "capi"
= "="
expression_list
table_constructor
{ "{"
field
identifier "mousegrabber"
= "="
identifier "mousegrabber"
, ","
field
identifier "client"
= "="
identifier "client"
} "}"
variable_declaration
local "local"
assignment_statement
variable_list
identifier "beautiful"
= "="
expression_list
function_call
identifier "require"
arguments
( "("
string
" "\""
string_content "beautiful"
" "\""
) ")"
variable_declaration
local "local"
assignment_statement
variable_list
identifier "floating"
= "="
expression_list
function_call
identifier "require"
arguments
( "("
string
" "\""
string_content "awful.layout.suit.floating"
" "\""
) ")"
variable_declaration
local "local"
assignment_statement
variable_list
identifier "module"
= "="
expression_list
table_constructor
{ "{"
} "}"
variable_declaration
local "local"
assignment_statement
variable_list
identifier "mode"
= "="
expression_list
string
" "\""
string_content "live"
" "\""
variable_declaration
local "local"
assignment_statement
variable_list
identifier "req"
= "="
expression_list
string
" "\""
string_content "request::geometry"
" "\""
variable_declaration (+30 nodes collapsed)
variable_declaration (+140 nodes collapsed)
comment
-- "--"
comment_content "- The resize cursor name."
comment
-- "--"
comment_content " @beautiful beautiful.cursor_mouse_resize"
comment
-- "--"
comment_content " @tparam[opt=cross] string cursor"
comment
-- "--"
comment_content "- The move cursor name."
comment
-- "--"
comment_content " @beautiful beautiful.cursor_mouse_move"
comment
-- "--"
comment_content " @tparam[opt=fleur] string cursor"
comment
-- "--"
comment_content "- Set the resize mode."
comment
-- "--"
comment_content " The available modes are:"
comment
-- "--"
comment_content ""
comment
-- "--"
comment_content " * **live**: Resize the layout everytime the mouse moves."
comment
-- "--"
comment_content " * **after**: Resize the layout only when the mouse is relea"...
comment
-- "--"
comment_content ""
comment
-- "--"
comment_content " Some clients, such as XTerm, may lose information if resize"...
comment
-- "--"
comment_content ""
comment
-- "--"
comment_content " @function awful.mouse.resize.set_mode"
comment
-- "--"
comment_content " @tparam string m The mode"
function_declaration (+39 nodes collapsed)
comment
-- "--"
comment_content "- Add an initialization callback."
comment
-- "--"
comment_content " This callback will be executed before the mouse grabbing st"...
comment
-- "--"
comment_content " @function awful.mouse.resize.add_enter_callback"
comment
-- "--"
comment_content " @tparam function cb The callback (or nil)"
comment
-- "--"
comment_content " @tparam[default=other] string context The callback context"
function_declaration (+69 nodes collapsed)
comment
-- "--"
comment_content "- Add a \"move\" callback."
comment
-- "--"
comment_content " This callback is executed in \"after\" mode (see `set_mode`) "...
comment
-- "--"
comment_content " applying the operation."
comment
-- "--"
comment_content " @function awful.mouse.resize.add_move_callback"
comment
-- "--"
comment_content " @tparam function cb The callback (or nil)"
comment
-- "--"
comment_content " @tparam[default=other] string context The callback context"
function_declaration (+69 nodes collapsed)
comment
-- "--"
comment_content "- Add a \"leave\" callback"
comment
-- "--"
comment_content " This callback is executed just before the `mousegrabber` st"...
comment
-- "--"
comment_content " @function awful.mouse.resize.add_leave_callback"
comment
-- "--"
comment_content " @tparam function cb The callback (or nil)"
comment
-- "--"
comment_content " @tparam[default=other] string context The callback context"
function_declaration (+69 nodes collapsed)
comment
-- "--"
comment_content "- Resize the drawable."
comment
-- "--"
comment_content ""
comment
-- "--"
comment_content " Valid `args` are:"
comment
-- "--"
comment_content ""
comment
-- "--"
comment_content " * *enter_callback*: A function called before the `mousegrab"...
comment
-- "--"
comment_content " * *move_callback*: A function called when the mouse moves."
comment
-- "--"
comment_content " * *leave_callback*: A function called before the `mousegrab"...
comment
-- "--"
comment_content " * *mode*: The resize mode."
comment
-- "--"
comment_content ""
comment
-- "--"
comment_content " @function awful.mouse.resize"
comment
-- "--"
comment_content " @tparam client client A client."
comment
-- "--"
comment_content " @tparam[default=mouse.resize] string context The resizing c"...
comment
-- "--"
comment_content " @tparam[opt={}] table args A set of `awful.placement` argum"...
comment
-- "--"
comment_content " @request wibox geometry mouse.resize granted Requests to re"...
function_declaration (+821 nodes collapsed)
function_declaration (+162 nodes collapsed)
function_call
dot_index_expression
dot_index_expression
identifier "capi"
. "."
identifier "client"
. "."
identifier "connect_signal"
arguments
( "("
string
" "\""
string_content "request::geometry"
" "\""
, ","
dot_index_expression
identifier "module"
. "."
identifier "_resize_handler"
) ")"
return_statement
return "return"
expression_list
function_call
identifier "setmetatable"
arguments
( "("
identifier "module"
, ","
table_constructor
{ "{"
field
identifier "__call"
= "="
identifier "handler"
} "}"
) ")"
comment
-- "--"
comment_content " vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabs"...

After

chunk
comment
-- "--"
comment_content "------------------------------------------------------------"...
comment
-- "--"
comment_content "- An extensible mouse resizing handler."
comment
-- "--"
comment_content ""
comment
-- "--"
comment_content " This module offers a resizing and moving mechanism for draw"...
comment
-- "--"
comment_content " clients and wiboxes."
comment
-- "--"
comment_content ""
comment
-- "--"
comment_content " @author Emmanuel Lepage Vallee <elv1313@gmail.com>"
comment
-- "--"
comment_content " @copyright 2016 Emmanuel Lepage Vallee"
comment
-- "--"
comment_content " @submodule mouse"
comment
-- "--"
comment_content "------------------------------------------------------------"...
variable_declaration
local "local"
assignment_statement
variable_list
identifier "aplace"
= "="
expression_list
function_call
identifier "require"
arguments
( "("
string
" "\""
string_content "awful.placement"
" "\""
) ")"
variable_declaration
local "local"
assignment_statement
variable_list
identifier "capi"
= "="
expression_list
table_constructor
{ "{"
field
identifier "mousegrabber"
= "="
identifier "mousegrabber"
, ","
field
identifier "client"
= "="
identifier "client"
} "}"
variable_declaration
local "local"
assignment_statement
variable_list
identifier "beautiful"
= "="
expression_list
function_call
identifier "require"
arguments
( "("
string
" "\""
string_content "beautiful"
" "\""
) ")"
variable_declaration
local "local"
assignment_statement
variable_list
identifier "floating"
= "="
expression_list
function_call
identifier "require"
arguments
( "("
string
" "\""
string_content "awful.layout.suit.floating"
" "\""
) ")"
variable_declaration
local "local"
assignment_statement
variable_list
identifier "module"
= "="
expression_list
table_constructor
{ "{"
} "}"
variable_declaration
local "local"
assignment_statement
variable_list
identifier "mode"
= "="
expression_list
string
" "\""
string_content "live"
" "\""
variable_declaration
local "local"
assignment_statement
variable_list
identifier "req"
= "="
expression_list
string
" "\""
string_content "request::geometry"
" "\""
variable_declaration (+30 nodes collapsed)
variable_declaration (+140 nodes collapsed)
comment
-- "--"
comment_content "- Set the resize mode."
comment
-- "--"
comment_content " The available modes are:"
comment
-- "--"
comment_content ""
comment
-- "--"
comment_content " * **live**: Resize the layout everytime the mouse moves."
comment
-- "--"
comment_content " * **after**: Resize the layout only when the mouse is relea"...
comment
-- "--"
comment_content ""
comment
-- "--"
comment_content " Some clients, such as XTerm, may lose information if resize"...
comment
-- "--"
comment_content ""
comment
-- "--"
comment_content " @function awful.mouse.resize.set_mode"
comment
-- "--"
comment_content " @tparam string m The mode"
function_declaration (+39 nodes collapsed)
comment
-- "--"
comment_content "- Add an initialization callback."
comment
-- "--"
comment_content " This callback will be executed before the mouse grabbing st"...
comment
-- "--"
comment_content " @function awful.mouse.resize.add_enter_callback"
comment
-- "--"
comment_content " @tparam function cb The callback (or nil)"
comment
-- "--"
comment_content " @tparam[default=other] string context The callback context"
function_declaration (+69 nodes collapsed)
comment
-- "--"
comment_content "- Add a \"move\" callback."
comment
-- "--"
comment_content " This callback is executed in \"after\" mode (see `set_mode`) "...
comment
-- "--"
comment_content " applying the operation."
comment
-- "--"
comment_content " @function awful.mouse.resize.add_move_callback"
comment
-- "--"
comment_content " @tparam function cb The callback (or nil)"
comment
-- "--"
comment_content " @tparam[default=other] string context The callback context"
function_declaration (+69 nodes collapsed)
comment
-- "--"
comment_content "- Add a \"leave\" callback"
comment
-- "--"
comment_content " This callback is executed just before the `mousegrabber` st"...
comment
-- "--"
comment_content " @function awful.mouse.resize.add_leave_callback"
comment
-- "--"
comment_content " @tparam function cb The callback (or nil)"
comment
-- "--"
comment_content " @tparam[default=other] string context The callback context"
function_declaration (+69 nodes collapsed)
comment
-- "--"
comment_content "- Resize the drawable."
comment
-- "--"
comment_content ""
comment
-- "--"
comment_content " Valid `args` are:"
comment
-- "--"
comment_content ""
comment
-- "--"
comment_content " * *enter_callback*: A function called before the `mousegrab"...
comment
-- "--"
comment_content " * *move_callback*: A function called when the mouse moves."
comment
-- "--"
comment_content " * *leave_callback*: A function called before the `mousegrab"...
comment
-- "--"
comment_content " * *mode*: The resize mode."
comment
-- "--"
comment_content ""
comment
-- "--"
comment_content " @function awful.mouse.resize"
comment
-- "--"
comment_content " @tparam client client A client."
comment
-- "--"
comment_content " @tparam[default=mouse.resize] string context The resizing c"...
comment
-- "--"
comment_content " @tparam[opt={}] table args A set of `awful.placement` argum"...
comment
-- "--"
comment_content " @request wibox geometry mouse.resize granted Requests to re"...
function_declaration (+821 nodes collapsed)
function_declaration (+162 nodes collapsed)
function_call
dot_index_expression
dot_index_expression
identifier "capi"
. "."
identifier "client"
. "."
identifier "connect_signal"
arguments
( "("
string
" "\""
string_content "request::geometry"
" "\""
, ","
dot_index_expression
identifier "module"
. "."
identifier "_resize_handler"
) ")"
return_statement
return "return"
expression_list
function_call
identifier "setmetatable"
arguments
( "("
identifier "module"
, ","
table_constructor
{ "{"
field
identifier "__call"
= "="
identifier "handler"
} "}"
) ")"
comment
-- "--"
comment_content " vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabs"...