Martin wrote:
On 13/09/2013 20:44, Mark Morgan Lloyd wrote:
Using Lazarus 1.0, I notice that if a SynEdit has ssAutoBoth set it
appears to have a permanent horizontal scrollbar as though the width
is set to around 256 characters. Is this a bug, or a feature that I
can disable?
its config
disable:
Options [eoScrollPastEOL]
or set
MaxLeftChar
So you need to trigger an update (change size, or change scrollbar
setting, as changing the above does not update the visibility of the
scrollbar immediately (that is a bug)
with eoScrollPastEOL, the editor assumes a minimom of MaxLeftChar to be
scrollable. If there is a longer line, then the longer line will take over.
Thanks Martin, setting MaxLeftChar to 1 fixes it (text is a "greenbar"
listing, so I don't anticipate significant width).
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus