GoScintilla line numbering

Just starting out? Need help? Post your questions and find answers here.
Yewklid
User
User
Posts: 19
Joined: Sun May 27, 2007 3:40 pm
Location: Berkshire, England

GoScintilla line numbering

Post 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?
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Re: GoScintilla line numbering

Post by srod »

Do not use the #GOSCI_AUTOSIZELINENUMBERSMARGIN flag when creating the control.
I may look like a mule, but I'm not a complete ass.
Yewklid
User
User
Posts: 19
Joined: Sun May 27, 2007 3:40 pm
Location: Berkshire, England

Re: GoScintilla line numbering

Post by Yewklid »

Great. That's done it. I was looking in the wrong place. I thought it had something to do with SetAttribute.

Thanks.
Post Reply