Author Topic: Minimap doesn't correctly track the mouse...  (Read 1699 times)

jporkkahtc

  • Senior Community Member
  • Posts: 2620
  • Hero Points: 210
  • Text
Minimap doesn't correctly track the mouse...
« on: August 08, 2018, 11:12:47 PM »
Load a text file with wide lines.
Turn on soft wrap.
Drag the minimap splitter far left to cause the text file a lot of wrapping.

As the scroll position moves up and down the vertical height of the elevator changes due to the variable height of soft-wrapped lines.

Using the mouse, drag the elevator up and down and notice that the mouse pointer position relative to the elevator top stop tracking accurately.

Grab very near the top or bottom of the elevator and drag up and down, then return the elevator to its original position, and it is obvious that the mouse is no longer at the same point in the elevator (or may be entirely outside of the elevator).

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6864
  • Hero Points: 528
Re: Minimap doesn't correctly track the mouse...
« Reply #1 on: August 09, 2018, 01:41:34 PM »
Since the minimap doesn’t support softwrap, you can get imperfect scrolling.

jporkkahtc

  • Senior Community Member
  • Posts: 2620
  • Hero Points: 210
  • Text
Re: Minimap doesn't correctly track the mouse...
« Reply #2 on: August 14, 2018, 07:16:18 PM »
If minimap doesn't work with softwrap, then disable minimap when softwrap is on instead of allowing a half broken combination.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6864
  • Hero Points: 528
Re: Minimap doesn't correctly track the mouse...
« Reply #3 on: August 14, 2018, 07:29:32 PM »
I recommend you turn the minimap off.

The SlickEdit vertical scrollbar plays games like this too. Opting for performance over perfect scrolling.