I notice other’s asking for improvements on the minimap, but I’m not sure if I should amend those posts or create my own. I’m just going to create my own.
First, the minimap could be used to scroll left to right. This would be awesome for people that only have a up/down scroll wheel (like myself). How could this work? Well, I think this is ultimately up to the developer(s) of ST. However, my suggestion is that you make a sort of scrubbing effect as you drag right to left from were you clicked in the minimap.
Second, improve initial click position.
Here’s the problem: Sense large file have large minimaps, the minimaps overflow at the bottom and top, and sense they overflow, they must scroll up as the shaded viewport scrolls down (the overlay that represent the current viewport). This create the problem that when initially click on the minimap you might not get the exact viewport destination you were expecting; the larger the text file the more the overflow, the more this problem is illustrated. (Please let me know if I explained the problem clearly)
The solution: The initial click position on the minimap will move the viewport immediately centered on the position in the minimap. But doing this alone will create another problem; the scrolling will become “off” and you wont be able to scroll from the initial position to any other position in the minimap. To fix this, you need a new algorithm that will gradually align the scrolling back to the scroll-to-pixel cardinality. I’m not exactly sure how to write this algorithm yet, but maybe if someone could post the currently used algorithm, I could modify it from there.
These are my two suggestions. I’d love to get some feedback on this asap.
PS: I <3 ST