Page 1 of 1

How to Change/Remove the Grid Lines next to the Line Numbers

Posted: Fri Jul 03, 2015 10:38 am
by mahesh
Hi,

I was trying to check all the Editor Preferences Options available in CodeLite.

Unfortunately. There is a Black Grid Lines appearing in the Editor. Not usre what option i clicked. But i want this removed.

And I am puzzeled to see why would codelite have such a bizzare option - where ever it is.
Please help

Thanks,
Mahesh

Re: How to Change/Remove the Grid Lines next to the Line Num

Posted: Fri Jul 03, 2015 2:05 pm
by eranif
This is a bug in wxWidgets :(

This happens when you use a screen resolution of > 100% (like me, I am using 125%) and you have the fold margin enabled.
This needs to be fixed in the wxStyledTextCtrl code (I confirmed that this also occurs with wxWIdgets STC sample)

The current workaround is simply to hide the fold margin: settings->global editor preferences->fold->display folding margin
Note, that even though the fold margin is hidden, you can still fold functions using the keyboard: Alt-RIGHT ARROW

Eran