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

jporkkahtc

  • Senior Community Member
  • Posts: 1721
  • Hero Points: 170
  • 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: 4692
  • Hero Points: 379
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: 1721
  • Hero Points: 170
  • 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: 4692
  • Hero Points: 379
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.