+1

Sidebar bug when click with long file?

jarmo 6 years ago 0

I have a 2000 line long file whose sidebar minimap exceeds the height of the sidebar window.  With the cursor located at the top of the file, the sidebar view actually represents around lines 1-250 in the file.  If I click at the mid-point of the sidebar view then ST2 should go to line 125 (1/2 way down the visible map), but in fact it goes to line 1000 (1/2 way down the actual file).  I'd expect it to go to the section of text that I clicked on in the minimap.