Page 1 of 1

GoScintilla line numbering

Posted: Tue Apr 16, 2013 8:40 am
by Yewklid
I have been using the excellent GoScintilla for syntax highlighting and bookmarks but I'm not really sure I want line numbering. I've looked through the documentation but I can't see a way to turn line numbering off. Probably there but I've just missed it.
Can anyone point me in the right direction?

Re: GoScintilla line numbering

Posted: Fri Apr 19, 2013 6:17 pm
by srod
Do not use the #GOSCI_AUTOSIZELINENUMBERSMARGIN flag when creating the control.

Re: GoScintilla line numbering

Posted: Sat Apr 20, 2013 11:09 am
by Yewklid
Great. That's done it. I was looking in the wrong place. I thought it had something to do with SetAttribute.

Thanks.