RF <ralphf...@gmail.com> wrote:
> self.editor.SetMarginWidth(1, 20)
> self.editor.SetMarginType(0, wx.stc.STC_MARGIN_NUMBER)
You are adding line numbers to margin 0, but you are setting the width of margin 1.
Add or change to:
self.editor.SetMarginWidth(0, 20)
and your snippet works.
regards,Anders