Avoids accidental text selection when buffer position changes during
mouse-click.
I often find myself accidentally selecting text when the auto-toggle kicks in because the buffer changes position while the mouse-button is still depressed. Adding a small delay mostly solves the problem, though being able to execute the toggle on the back of mouse-up instead of the focus event would solve the problem entirely, without any delay. Not sure if there's a sensible API hook to implement the latter, so this does the job in the mean time.
Avoids accidental text selection when buffer position changes during mouse-click.
I often find myself accidentally selecting text when the auto-toggle kicks in because the buffer changes position while the mouse-button is still depressed. Adding a small delay mostly solves the problem, though being able to execute the toggle on the back of mouse-up instead of the focus event would solve the problem entirely, without any delay. Not sure if there's a sensible API hook to implement the latter, so this does the job in the mean time.