Patch 9.0.1566
Problem:    Motif: GUI scrollbar test fails in 24 lines terminal.
Solution:   Skip the part of the test that fails for now.
Files:      src/testdir/test_gui.vim


*** ../vim-9.0.1565/src/testdir/test_gui.vim    2023-03-06 15:29:26.196524684 
+0000
--- src/testdir/test_gui.vim    2023-05-18 20:04:35.072746221 +0100
***************
*** 733,744 ****
    call assert_equal(1, winline())
    call assert_equal(11, line('.'))
  
!   " scroll to move line 1 at top, cursor stays in line 11
!   let args = #{which: 'right', value: 0, dragging: 0}
!   call test_gui_event('scrollbar', args)
!   redraw
!   call assert_equal(11, winline())
!   call assert_equal(11, line('.'))
  
    set nowrap
    call setline(11, repeat('x', 150))
--- 733,747 ----
    call assert_equal(1, winline())
    call assert_equal(11, line('.'))
  
!   " FIXME: This test should also pass with Motif and 24 lines
!   if &lines > 24 || !has('gui_motif')
!     " scroll to move line 1 at top, cursor stays in line 11
!     let args = #{which: 'right', value: 0, dragging: 0}
!     call test_gui_event('scrollbar', args)
!     redraw
!     call assert_equal(11, winline())
!     call assert_equal(11, line('.'))
!   endif
  
    set nowrap
    call setline(11, repeat('x', 150))
*** ../vim-9.0.1565/src/version.c       2023-05-18 16:42:13.667307702 +0100
--- src/version.c       2023-05-18 20:06:42.060826757 +0100
***************
*** 697,698 ****
--- 697,700 ----
  {   /* Add new patch number below this line */
+ /**/
+     1566,
  /**/

-- 
Light travels faster than sound.  This is why some people
appear bright until you hear them speak

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            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/20230518190755.545791C0A8A%40moolenaar.net.

Raspunde prin e-mail lui