Author Topic: Annoying scrolling behavior  (Read 642 times)

jporkkahtc

  • Senior Community Member
  • Posts: 2616
  • Hero Points: 210
  • Text
Annoying scrolling behavior
« on: August 24, 2020, 09:38:09 pm »
1 Load a longish file.
2 Search for something somewhere causing Slick to scroll to get to it.
3 Spin the mouse wheel to scroll a few lines.
4 Left cursor.

-> Slick undoes the mouse wheel scroll, jumping the view back to where it was from the search result.

Slick should not do this unless necessary to make the cursor visible.



Note that if you use the arrow keys to scroll, then mouse wheel, then left arrow - slick does not jump the buffer position back to where it was.

Also, using scroll_down after a search doesn't do this -- just the mouse wheel.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6435
  • Hero Points: 501
Re: Annoying scrolling behavior
« Reply #1 on: August 24, 2020, 10:11:59 pm »
I can't seem to reproduce this. Is there some option I need to turn on or some other magic?  For me, since the cursor is visible on the screen the screen doesn't scroll when I press Left or Right arrow. Try this with a default config.

jporkkahtc

  • Senior Community Member
  • Posts: 2616
  • Hero Points: 210
  • Text
Re: Annoying scrolling behavior
« Reply #2 on: August 25, 2020, 04:47:51 am »
Actually, seems to be tied to a selection.
I always use bigfind, vc6 emulation, non-incremental search.

Find _DIV_T_DEFINED in "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\stdlib.h"

_DIV_T_DEFINED gets selected.
Wheel scroll a little, then cursor -- and the buffer jumps back.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6435
  • Hero Points: 501
Re: Annoying scrolling behavior
« Reply #3 on: August 25, 2020, 01:39:10 pm »
Thanks. Fixed for beta 3