comparison src/testdir/check.vim @ 29473:1c688281673d v9.0.0078

patch 9.0.0078: star register is unexpectedly changed when deleting Commit: https://github.com/vim/vim/commit/559f230fd618e51d7986d87217ff38a2eac73cef Author: Ernie Rael <errael@raelity.com> Date: Tue Jul 26 14:44:36 2022 +0100 patch 9.0.0078: star register is unexpectedly changed when deleting Problem: Star register is changed when deleting and both "unnamed" and "unnamedplus" are in 'clipboard'. Solution: Make the use of the star register work as documented. (Ernie Rael, closes #10669)
author Bram Moolenaar <Bram@vim.org>
date Tue, 26 Jul 2022 15:45:03 +0200
parents 5dd393285464
children 7ab65e398be7
comparison
equal deleted inserted replaced
29472:1a227a808854 29473:1c688281673d
231 if !g:x11_based_gui 231 if !g:x11_based_gui
232 throw 'Skipped: requires X11 based GUI' 232 throw 'Skipped: requires X11 based GUI'
233 endif 233 endif
234 endfunc 234 endfunc
235 235
236 " Command to check that there are two clipboards
237 command CheckTwoClipboards call CheckTwoClipboards()
238 func CheckTwoClipboards()
239 " avoid changing the clipboard here, only X11 supports both
240 if !has('X11')
241 throw 'Skipped: requires two clipboards'
242 endif
243 endfunc
244
236 " Command to check for satisfying any of the conditions. 245 " Command to check for satisfying any of the conditions.
237 " e.g. CheckAnyOf Feature:bsd Feature:sun Linux 246 " e.g. CheckAnyOf Feature:bsd Feature:sun Linux
238 command -nargs=+ CheckAnyOf call CheckAnyOf(<f-args>) 247 command -nargs=+ CheckAnyOf call CheckAnyOf(<f-args>)
239 func CheckAnyOf(...) 248 func CheckAnyOf(...)
240 let excp = [] 249 let excp = []