Mercurial > vim
view src/testdir/test_set.vim @ 13119:729f279fda8d v8.0.1434
patch 8.0.1434: GTK: :promtfind does not put focus on text input
commit https://github.com/vim/vim/commit/d7823d5b7c32f73ca720373ea9c16b1b47f086df
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 28 15:36:42 2018 +0100
patch 8.0.1434: GTK: :promtfind does not put focus on text input
Problem: GTK: :promtfind does not put focus on text input. (Adam Novak)
Solution: When re-opening the dialog put focus on the text input. (Kazunobu
Kuriyama, closes #2563)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 28 Jan 2018 15:45:05 +0100 |
parents | 779a7c14c795 |
children | 08940efa6b4e |
line wrap: on
line source
" Tests for the :set command function Test_set_backslash() let isk_save = &isk set isk=a,b,c set isk+=d call assert_equal('a,b,c,d', &isk) set isk+=\\,e call assert_equal('a,b,c,d,\,e', &isk) set isk-=e call assert_equal('a,b,c,d,\', &isk) set isk-=\\ call assert_equal('a,b,c,d', &isk) let &isk = isk_save endfunction function Test_set_add() let wig_save = &wig set wildignore=*.png, set wildignore+=*.jpg call assert_equal('*.png,*.jpg', &wig) let &wig = wig_save endfunction