Sublime Forum

Smooth scroll

#1

Firefox and other browsers all have smooth scroll.
Many important text editors do too: textmate, emeditor, and intelliJ idea.
Most win and linux editor just use a text component (WPF, GTK) where smooth scroll is not available.

Since sublime uses all in-house code, you could implement smooth scroll. This would be a killer feature for me.

0 Likes

#2

Well since Jon has recently enabled Mouse bindings on the Dev build, this could be done via a plugin.

I don’t know much about the new bindings since I’ve not looked at any source code but if Google Chrome can do smooth scrolling by a plugin, so should we :smile:

0 Likes

#3

There’s no need to limit this to scrolling by mouse. In fact, arrows, adv. page, and teleport to a ‘find’ match are all very enhanced by smooth scrolling… Not sure this can be done with a plugin. Can you move by pixel, not by character? Jon?

0 Likes

#4

It’s possible to pass arbitrary float values to the “scroll_lines” command, so you can definitely scroll by pixel.

0 Likes