annotate src/testdir/test56.in @ 2137:dabcabce3f9d v7.2.419

updated for version 7.2.419 Problem: Memory leak in Motif when clicking on "Search Vim Help". Solution: Free string returned by XmTextGetString(). (Dominique Pelle)
author Bram Moolenaar <bram@zimbu.org>
date Thu, 13 May 2010 16:31:25 +0200
parents b63792dadc23
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
271
8d34af900bae updated for version 7.0072
vimboss
parents:
diff changeset
1 Test for script-local function. vim: set ft=vim :
8d34af900bae updated for version 7.0072
vimboss
parents:
diff changeset
2
8d34af900bae updated for version 7.0072
vimboss
parents:
diff changeset
3 STARTTEST
8d34af900bae updated for version 7.0072
vimboss
parents:
diff changeset
4 :so small.vim
8d34af900bae updated for version 7.0072
vimboss
parents:
diff changeset
5 :"
959
ea15087a42cd updated for version 7.0-085
vimboss
parents: 271
diff changeset
6 :set nocp viminfo+=nviminfo
271
8d34af900bae updated for version 7.0072
vimboss
parents:
diff changeset
7 :/^start:/+1,/^end:/-1w! Xtest.vim
8d34af900bae updated for version 7.0072
vimboss
parents:
diff changeset
8 :source Xtest.vim
8d34af900bae updated for version 7.0072
vimboss
parents:
diff changeset
9 _x
8d34af900bae updated for version 7.0072
vimboss
parents:
diff changeset
10 :$-1,$wq! test.out
8d34af900bae updated for version 7.0072
vimboss
parents:
diff changeset
11 ENDTEST
8d34af900bae updated for version 7.0072
vimboss
parents:
diff changeset
12
8d34af900bae updated for version 7.0072
vimboss
parents:
diff changeset
13 start:
8d34af900bae updated for version 7.0072
vimboss
parents:
diff changeset
14 fun <SID>DoLast()
8d34af900bae updated for version 7.0072
vimboss
parents:
diff changeset
15 call append(line('$'), "last line")
8d34af900bae updated for version 7.0072
vimboss
parents:
diff changeset
16 endfun
8d34af900bae updated for version 7.0072
vimboss
parents:
diff changeset
17 fun s:DoNothing()
8d34af900bae updated for version 7.0072
vimboss
parents:
diff changeset
18 call append(line('$'), "nothing line")
8d34af900bae updated for version 7.0072
vimboss
parents:
diff changeset
19 endfun
1405
b63792dadc23 updated for version 7.1-120
vimboss
parents: 959
diff changeset
20 nnoremap <buffer> _x :call <SID>DoNothing()<bar>call <SID>DoLast()<bar>delfunc <SID>DoNothing<bar>delfunc <SID>DoLast<cr>
271
8d34af900bae updated for version 7.0072
vimboss
parents:
diff changeset
21 end: