Lines Matching refs:interrupt
1060 " On an interrupt, the script processing is terminated immediately.
1072 call interrupt()
1098 call interrupt()
1122 call interrupt()
1153 call interrupt()
1524 " Test 22: :finally for a :try after an error/interrupt/:throw {{{1
1527 " interrupt or :throw, its :finally clause should not be executed.
1570 call interrupt() " triggering interrupt exception
1584 if 1 " not active due to interrupt
1592 try " not active due to interrupt
1891 " Test 30: Executing :finally clauses on interrupt {{{1
1893 " After an interrupt in a command dynamically enclosed in
1903 call interrupt()
1916 call interrupt()
1928 call interrupt()
2048 " :return, :finish, error, interrupt or :throw, the jump reason is
2069 elseif a:jump == "interrupt"
2070 call interrupt()
2102 call C("interrupt")
2122 " :return, :finish, error, interrupt or :throw, the jump reason is
2143 elseif a:jump == "interrupt"
2144 call interrupt()
2176 call B("interrupt")
2196 " :return, :finish, error, interrupt or :throw, the jump reason is
2216 elseif a:jump == "interrupt"
2217 call interrupt()
2245 let sum = sum - R("interrupt", -128)
2268 " :return, :finish, error, interrupt or :throw, the jump reason is
2288 elseif a:jump == "interrupt"
2289 call interrupt()
2324 let g:jump = "interrupt"
2351 " :return, :finish, error, interrupt or :throw, the jump reason is
2371 elseif a:jump == "interrupt"
2372 call interrupt()
2416 call E("interrupt")
2442 " Test 39: :finally reason discarded by an interrupt {{{1
2445 " :return, :finish, error, interrupt or :throw, the jump reason is
2446 " discarded by an interrupt in the finally clause.
2465 elseif a:jump == "interrupt"
2466 call interrupt()
2472 call interrupt()
2512 call I("interrupt")
2544 " :return, :finish, error, interrupt or :throw, the jump reason is
2564 elseif a:jump == "interrupt"
2565 call interrupt()
2609 call T("interrupt")
2772 " displayed when the script is terminated. In case of an interrupt
2773 " or error exception, the normal interrupt or error message(s) are
2865 " Need to catch and handle interrupt, otherwise the test will wait for the
2871 call interrupt()
3628 " Test 58: v:exception and v:throwpoint for error/interrupt exceptions {{{1
3630 " v:exception and v:throwpoint work also for error and interrupt
3642 call interrupt()
3729 " interrupt exception, v:exception and v:throwpoint are reset. They
3796 call interrupt()
3906 call interrupt()
3987 " v:exception. An error or interrupt exception cannot be rethrown
4078 call interrupt()
4079 catch /^Vim:/ " catch interrupt exception
4100 " Test 61: Catching interrupt exceptions {{{1
4102 " When an interrupt occurs inside a :try/:endtry region, an
4103 " interrupt exception is thrown and can be caught. Its value is
4104 " "Vim:Interrupt". If the interrupt occurs after an error or a :throw
4106 " that try block are ignored, but the interrupt exception can be
4107 " caught by the next surrounding try conditional. An interrupt is
4108 " ignored when there is a previous interrupt that has not been caught
4118 call interrupt()
4144 call interrupt()
4150 call interrupt()
4177 call interrupt()
4199 call interrupt()
4202 call interrupt()
4556 " Test 64: Error exceptions after error, interrupt or :throw {{{1
4558 " When an error occurs after an interrupt or a :throw but before
4636 call interrupt()
4798 " Test 66: Stop range :call on error, interrupt, or :throw {{{1
4802 " dynamically enclosed by :try/:endtry or gets an interrupt or
4824 elseif a:reason == "interrupt"
4825 call interrupt()
4855 call G("interrupt", 3)
5135 " due to an error inside a :try/:endtry region or due to an interrupt
5163 call interrupt()
5255 " An error exception has been triggered after the interrupt.
5261 continue " discard interrupt
5374 " to an error inside a :try/:endtry region or due to an interrupt or
5846 " Test 81: Discarding exceptions after an error or interrupt {{{1
5849 " :catch and :finally clauses and an error or interrupt occurs before
5877 " interrupt the code before the endtry is invoked
5887 endtry " interrupt here
5913 " Test 82: Ignoring :catch clauses after an error or interrupt {{{1
5915 " When an exception is thrown and an error or interrupt occurs before
5917 " and the :catch clause is ignored (also for the error or interrupt
5979 " interrupt right before a catch is invoked in a script
5988 catch /.*/ " interrupt here
6017 " interrupt right before a catch is invoked inside a function.
6026 catch /.*/ " interrupt here
6055 " Test 83: Executing :finally clauses after an error or interrupt {{{1
6057 " When an exception is thrown and an error or interrupt occurs before
6088 " interrupt the code right before the finally is invoked
6098 finally " interrupt here
6141 call interrupt()
6209 " ... but break loop for caught interrupt exception,
6210 " or discard interrupt and break loop if $VIMNOINTTHROW
6248 " ... but break loop for caught interrupt exception,
6249 " or discard interrupt and break loop if $VIMNOINTTHROW