myel wrote:What i want to do quite often is to click onto the minimap to jump to the clicked location, what do you and the others think about that?
Back in pre-history, the minimap
used to always show you the entire file. You could click anywhere on the minimap
and be taken directly to that point - it was nice.
However, the problem with showing the entire file is that for even reasonably sized files, everything is so small you can't make out much of anything. This led to the current situation of the zoom cap and the minimap
showing the portion of the buffer around the current view port.
This means that while the top of the orange viewport rectangle on the minimap
reflects the current position wrt the buffer (i.e., when the rect is at the top of the screen, you're looking at the top of the buffer, and when it's at the bottom of the screen, you're looking at the bottom of the buffer), the surrounding text doesn't (i.e., when looking at the top of a sufficiently large file the text at the bottom of the minimap
is not the text at the bottom of the buffer).
This means that if click-to-scroll was still implemented, I'd have to choose between one of two behaviours:
- The view is scrolled to the text in the minimap
that you clicked on. This would result in the orange view port representation _not_ moving to where you click, which would likely be unexpected.
- The view port is scrolled to where you click. This would result in in the text you clicked on in the minimap
_not_ being the text you now see in the main view, which would also be unexpected.
The end result is you can only drag the minimap
view rectangle around.