Closed Dinoosawruss closed 3 years ago
This doesn't seem to be possible if I read the Scintilla.org instructions correctly; the margin changes into a symbol margin:
scintilla.Margins[0].Type = MarginType.Color;
scintilla.Margins[0].BackColor = Color.OrangeRed;
But I'm not sure with such a short test 🙄
Seemingly I was wrong: This works:
scintilla.Styles[Style.LineNumber].BackColor = Color.OrangeRed;
scintilla.Styles[Style.LineNumber].ForeColor = Color.BlueViolet;
@VPKSoft hmm I tried what you did and it didn't work? I'll test it again and see
EDIT: Somehow it appears to now work, thanks for the help
Hi,
I am trying to change the background colour of the LineNumber column in the below Scintilla but have so far been unsuccessful![image](https://user-images.githubusercontent.com/22278485/122986549-7f0ccd80-d397-11eb-98cc-4c18624cd97e.png)
Any assistance would be appreciated