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
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:
Did I setup scintilla in a wrong way ?