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–684 unchanged (684 lines)
685
686 1tabonly!
687 bw!
688endfunc
689
690func Test_tabpage_cmdheight()
691 CheckRunVimInTerminal
692 call writefile([
693 \ 'set laststatus=2',
694 \ 'set cmdheight=2',
695 \ 'tabnew',
696 \ 'set cmdheight=3',
697 \ 'tabnext',
…lines 698–1080 unchanged (383 lines)

After

…lines 1–684 unchanged (684 lines)
685
686 1tabonly!
687 bw!
688endfunc
689
690func Test_tabpage_cmdheight()
691 CheckScreendump
692 CheckRunVimInTerminal
693 call writefile([
694 \ 'set laststatus=2',
695 \ 'set cmdheight=2',
696 \ 'tabnew',
697 \ 'set cmdheight=3',
…lines 698–1081 unchanged (384 lines)

Before

script_file
comment "\" Tests for tabpage"
source_statement
source "source"
filename "screendump.vim"
source_statement
source "source"
filename "check.vim"
function_definition (+1086 nodes collapsed)
function_definition (+658 nodes collapsed)
comment "\" Test autocommands"
function_definition (+899 nodes collapsed)
comment "\" Test autocommands on tab drop"
function_definition (+210 nodes collapsed)
function_definition (+247 nodes collapsed)
function_definition (+48 nodes collapsed)
comment "\" Test for [count] of tabnext"
function_definition (+315 nodes collapsed)
comment "\" Test for [count] of tabprevious"
function_definition (+208 nodes collapsed)
function_definition (+86 nodes collapsed)
function_definition (+131 nodes collapsed)
comment "\" Test for [count] of tabclose"
function_definition (+522 nodes collapsed)
comment "\" Test for [count] of tabonly"
function_definition (+517 nodes collapsed)
function_definition (+41 nodes collapsed)
function_definition (+42 nodes collapsed)
function_definition (+92 nodes collapsed)
function_definition (+61 nodes collapsed)
function_definition
function "func"
function_declaration
identifier "Test_tabpage_cmdheight"
parameters
( "("
) ")"
body
user_command
command_name "CheckRunVimInTerminal"
call_statement (+29 nodes collapsed)
comment "\" Check that cursor line is concealed"
let_statement
let "let"
identifier "buf"
= "="
call_expression
identifier "RunVimInTerminal"
( "("
string_literal "'-S XTest_tabpage_cmdheight'"
, ","
dictionnary
{ "{"
dictionnary_entry
string_literal "'statusoff'"
: ":"
integer_literal "3"
} "}"
) ")"
call_statement
call "call"
call_expression
identifier "VerifyScreenDump"
( "("
identifier "buf"
, ","
string_literal "'Test_tabpage_cmdheight'"
, ","
dictionnary
{ "{"
} "}"
) ")"
call_statement
call "call"
call_expression
identifier "StopVimInTerminal"
( "("
identifier "buf"
) ")"
call_statement
call "call"
call_expression
identifier "delete"
( "("
string_literal "'XTest_tabpage_cmdheight'"
) ")"
endfunction "endfunc"
comment "\" Test for closing the tab page from a command window"
function_definition (+57 nodes collapsed)
comment "\" Pressing <C-PageUp> in insert mode should go to the previo"...
comment "\" and <C-PageDown> should go to the next tab page"
function_definition (+57 nodes collapsed)
comment "\" Return the terminal key code for selecting a tab page from"...
comment "\" sequence contains the following codes: a CSI (0x9b), KS_TA"...
comment "\" KS_FILLER (0x58) and then the tab page number."
function_definition (+22 nodes collapsed)
comment "\" Return the terminal key code for opening a new tabpage fro"...
comment "\" menu. This sequence consists of the following codes: a CSI"...
comment "\" KS_TABMENU (0xef), KS_FILLER (0x58), the tab page number a"...
comment "\" TABLINE_MENU_NEW (2)."
function_definition (+29 nodes collapsed)
comment "\" Return the terminal key code for closing a tabpage from th"...
comment "\" This sequence consists of the following codes: a CSI (0x9b"...
comment "\" (0xef), KS_FILLER (0x58), the tab page number and TABLINE_"...
function_definition (+29 nodes collapsed)
comment "\" Test for using the tabpage menu from the insert and normal"...
function_definition (+400 nodes collapsed)
comment "\" Test for changing the current tab page from an autocmd whe"...
comment "\" page."
function_definition (+158 nodes collapsed)
comment "\" Test for closing the destination tabpage when jumping from"...
function_definition (+77 nodes collapsed)
comment "\" Test for jumping to last accessed tabpage"
function_definition (+411 nodes collapsed)
comment "\" Test for tabpage allocation failure"
function_definition (+179 nodes collapsed)
function_definition (+285 nodes collapsed)
comment "\" this was giving ml_get errors"
function_definition (+88 nodes collapsed)
comment "\" this was causing an endless loop"
function_definition (+83 nodes collapsed)
comment "\" Test that settabvar() shouldn't change the last accessed t"...
function_definition (+83 nodes collapsed)
comment "\" vim: shiftwidth=2 sts=2 expandtab"

After

script_file
comment "\" Tests for tabpage"
source_statement
source "source"
filename "screendump.vim"
source_statement
source "source"
filename "check.vim"
function_definition (+1086 nodes collapsed)
function_definition (+658 nodes collapsed)
comment "\" Test autocommands"
function_definition (+899 nodes collapsed)
comment "\" Test autocommands on tab drop"
function_definition (+210 nodes collapsed)
function_definition (+247 nodes collapsed)
function_definition (+48 nodes collapsed)
comment "\" Test for [count] of tabnext"
function_definition (+315 nodes collapsed)
comment "\" Test for [count] of tabprevious"
function_definition (+208 nodes collapsed)
function_definition (+86 nodes collapsed)
function_definition (+131 nodes collapsed)
comment "\" Test for [count] of tabclose"
function_definition (+522 nodes collapsed)
comment "\" Test for [count] of tabonly"
function_definition (+517 nodes collapsed)
function_definition (+41 nodes collapsed)
function_definition (+42 nodes collapsed)
function_definition (+92 nodes collapsed)
function_definition (+61 nodes collapsed)
function_definition
function "func"
function_declaration
identifier "Test_tabpage_cmdheight"
parameters
( "("
) ")"
body
user_command
command_name "CheckScreendump"
user_command
command_name "CheckRunVimInTerminal"
call_statement (+29 nodes collapsed)
comment "\" Check that cursor line is concealed"
let_statement
let "let"
identifier "buf"
= "="
call_expression
identifier "RunVimInTerminal"
( "("
string_literal "'-S XTest_tabpage_cmdheight'"
, ","
dictionnary
{ "{"
dictionnary_entry
string_literal "'statusoff'"
: ":"
integer_literal "3"
} "}"
) ")"
call_statement
call "call"
call_expression
identifier "VerifyScreenDump"
( "("
identifier "buf"
, ","
string_literal "'Test_tabpage_cmdheight'"
, ","
dictionnary
{ "{"
} "}"
) ")"
call_statement
call "call"
call_expression
identifier "StopVimInTerminal"
( "("
identifier "buf"
) ")"
call_statement
call "call"
call_expression
identifier "delete"
( "("
string_literal "'XTest_tabpage_cmdheight'"
) ")"
endfunction "endfunc"
comment "\" Test for closing the tab page from a command window"
function_definition (+57 nodes collapsed)
comment "\" Pressing <C-PageUp> in insert mode should go to the previo"...
comment "\" and <C-PageDown> should go to the next tab page"
function_definition (+57 nodes collapsed)
comment "\" Return the terminal key code for selecting a tab page from"...
comment "\" sequence contains the following codes: a CSI (0x9b), KS_TA"...
comment "\" KS_FILLER (0x58) and then the tab page number."
function_definition (+22 nodes collapsed)
comment "\" Return the terminal key code for opening a new tabpage fro"...
comment "\" menu. This sequence consists of the following codes: a CSI"...
comment "\" KS_TABMENU (0xef), KS_FILLER (0x58), the tab page number a"...
comment "\" TABLINE_MENU_NEW (2)."
function_definition (+29 nodes collapsed)
comment "\" Return the terminal key code for closing a tabpage from th"...
comment "\" This sequence consists of the following codes: a CSI (0x9b"...
comment "\" (0xef), KS_FILLER (0x58), the tab page number and TABLINE_"...
function_definition (+29 nodes collapsed)
comment "\" Test for using the tabpage menu from the insert and normal"...
function_definition (+400 nodes collapsed)
comment "\" Test for changing the current tab page from an autocmd whe"...
comment "\" page."
function_definition (+158 nodes collapsed)
comment "\" Test for closing the destination tabpage when jumping from"...
function_definition (+77 nodes collapsed)
comment "\" Test for jumping to last accessed tabpage"
function_definition (+411 nodes collapsed)
comment "\" Test for tabpage allocation failure"
function_definition (+179 nodes collapsed)
function_definition (+285 nodes collapsed)
comment "\" this was giving ml_get errors"
function_definition (+88 nodes collapsed)
comment "\" this was causing an endless loop"
function_definition (+83 nodes collapsed)
comment "\" Test that settabvar() shouldn't change the last accessed t"...
function_definition (+83 nodes collapsed)
comment "\" vim: shiftwidth=2 sts=2 expandtab"