Patch 8.1.1482
Problem: No test for wincol() depending on the 'number' option.
Solution: Add a couple of tests. (Christian Brabandt, closes #4500)
Files: src/testdir/test_gui.vim
*** ../vim-8.1.1481/src/testdir/test_gui.vim 2019-03-28 22:04:53.290665042
+0100
--- src/testdir/test_gui.vim 2019-06-06 15:36:18.041054603 +0200
***************
*** 694,705 ****
--- 694,715 ----
call setline(11, repeat('x', 150))
redraw
call assert_equal(1, wincol())
+ set number
+ redraw
+ call assert_equal(5, wincol())
+ set nonumber
+ redraw
call assert_equal(1, col('.'))
" scroll to character 11, cursor is moved
call test_scrollbar('hor', 10, 0)
redraw
call assert_equal(1, wincol())
+ set number
+ redraw
+ call assert_equal(5, wincol())
+ set nonumber
+ redraw
call assert_equal(11, col('.'))
set guioptions&
*** ../vim-8.1.1481/src/version.c 2019-06-06 15:19:28.247404537 +0200
--- src/version.c 2019-06-06 15:36:04.193150549 +0200
***************
*** 769,770 ****
--- 769,772 ----
{ /* Add new patch number below this line */
+ /**/
+ 1482,
/**/
--
hundred-and-one symptoms of being an internet addict:
99. The hum of a cooling fan and the click of keys is comforting to you.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/201906061340.x56Dehig021070%40masaka.moolenaar.net.
For more options, visit https://groups.google.com/d/optout.