Home
last modified time | relevance | path

Searched refs:delcmd (Results 1 – 4 of 4) sorted by relevance

/vim-8.2.3635/src/
H A Dif_tcl.c1430 if (ref->delcmd) in delref()
1432 Tcl_DecrRefCount(ref->delcmd); in delref()
1433 ref->delcmd = NULL; in delref()
1492 ref->delcmd = NULL; in tclgetref()
1515 Tcl_Obj *delcmd) in tclsetdelcmd() argument
1527 if (reflist->delcmd) in tclsetdelcmd()
1529 Tcl_IncrRefCount(delcmd); in tclsetdelcmd()
1530 reflist->delcmd = delcmd; in tclsetdelcmd()
2044 if (ref->delcmd) in tcldelallrefs()
2053 Tcl_DecrRefCount(ref->delcmd); in tcldelallrefs()
[all …]
/vim-8.2.3635/runtime/doc/
H A Dif_tcl.txt244 $win delcmd {cmd} # Call Tcl command when window is closed.
275 $win delcmd {cmd} *tcl-window-delcmd*
279 $win delcmd [list puts vimerr "window deleted"]
280 < See also |tcl-buffer-delcmd|.
321 $buf delcmd {cmd} # Call Tcl command when buffer is deleted.
357 $buf delcmd {cmd} *tcl-buffer-delcmd*
361 $buf delcmd [list puts vimerr "buffer [$buf number] gone"]
362 < See also |tcl-window-delcmd|.
H A Dtags9613 tcl-buffer-delcmd if_tcl.txt /*tcl-buffer-delcmd*
9645 tcl-window-delcmd if_tcl.txt /*tcl-window-delcmd*
/vim-8.2.3635/src/testdir/
H A Dtest_tcl.vim371 " Test $win delcmd {cmd}
374 tcl $::vim::current(window) delcmd [list set msg "window deleted"]
379 call assert_fails('tcl $::vim::current(window) delcmd', 'wrong # args')
380 call assert_fails('tcl $::vim::current(window) delcmd x x', 'wrong # args')
639 " Test $buf delcmd {cmd} (command executed when buffer is deleted)
643 tcl $::vim::current(buffer) delcmd [list set msg "buffer deleted"]
649 call assert_fails('tcl $::vim::current(buffer) delcmd', 'wrong # args')
650 call assert_fails('tcl $::vim::current(buffer) delcmd x x', 'wrong # args')