Hi Neil and all,
There were some comments about scrollbars in wxSTC
some time ago. People were speaking about the horizontal
scroll bar. I will speak about the vertical scrollbar.
The vertical scrollbar appears or disappears on the control according
to the number of lines. I think this is a mistake.
The scrollbar should always be visible, but enabled or disabled as a
function of the numbers of lines. In that way, the text width area is always
constant.
Sometimes, you don't know the amount of text (lines) that will be
written out. If you are using you own text formatting ,
you need to know the width between the left and right margin.
With a visible/not visible vertical scrollbar, this width varies.
It may be different before and after the text has been
displayed.
Jean-Michel Fauth, Switzerland