How do you remove StyledTextCtrl line numbers?

GerrySutton

> How to get rid of the line numbers in StyledTextCtrl? From the demo samples
> it looks like line numbers are a default behavior since they are not
> explicitly setup. The appear in what looks like margin 1, perhaps by some
> convention. Using SetMarginWidth(1, 0) and/or SetMarginWidth(0, 0) has no
> affect.

Playing with the margin widths *is* the solution.
You can check it live with
http://spinecho.ze.cx/ > PyStylesCreator

Jean-Michel Fauth, Switzerland