Touchpad horizontal scroll on OS X

50 views
Skip to first unread message

Fred

unread,
Oct 11, 2012, 2:00:29 PM10/11/12
to scintilla...@googlegroups.com
Hello,

I have set the scintilla horizontal scroll to auto-adjust using the following lines (on OS X):

    SendMessage(SCI_SETSCROLLWIDTH, 10); // 10 pixels width at start, and will grow if necessary
    SendMessage(SCI_SETSCROLLWIDTHTRACKING, 1);

The horizontal scrollbar will disappear if there is no need for it, and when the scrollbar is hidden and we use the touchpad to perform an horizontal scroll, the edit area becomes shifted:

http://www.hostingpics.net/viewer.php?id=531988Capturedcran20121006111200.png

Did I setup scintilla in a wrong way ?

Regards,

Fred.

Neil Hodgson

unread,
Oct 11, 2012, 6:23:54 PM10/11/12
to scintilla...@googlegroups.com
Fred:

> The horizontal scrollbar will disappear if there is no need for it, and when the scrollbar is hidden and we use the touchpad to perform an horizontal scroll, the edit area becomes shifted:
>
> http://www.hostingpics.net/viewer.php?id=531988Capturedcran20121006111200.png

That is a bug.

Neil

Neil Hodgson

unread,
Oct 13, 2012, 7:30:11 AM10/13/12
to scintilla...@googlegroups.com
   This bug may be fixed with this committed patch
http://scintilla.hg.sourceforge.net/hgweb/scintilla/scintilla/rev/2c5baa45e444

   Neil

Fred

unread,
Oct 13, 2012, 11:43:25 AM10/13/12
to scintilla...@googlegroups.com, nyama...@me.com
Hello Neil,

It does fix it, thank you !

Fred
Reply all
Reply to author
Forward
0 new messages