Can I change the width of the saved/unsaved color bar?

SyntaxEditor for Windows Forms Forum

Posted 12 years ago by Michael Dempsey - Sr. Developer, Teradata Corp
Version: 12.1.0303

The color bars that indicate changed lines are very narrow and not easy to see.
They also tend to merge into the expansion indicators at times.

Is there any way to increase the width of these bars [and the margin that displays them] to look more like Visual Studio?
(I think they are 2 pixels wide, 3 or 4 would be better)


Comments (2)

Posted 12 years ago by Actipro Software Support - Cleveland, OH, USA

Hi Mike,

I believe they render at 3px wide right now in most scenarios.  The width is based on an algorithm to prevent them from colliding with outlining node lines.  If you use a larger font size (making lines taller) and increase the width of the selection margin, they will increase proportionally.  But other than that, or overriding the renderer's DrawSelectionMarginDisplayLine method, there isn't a way to increase their width.

Actipro Software Support

Posted 12 years ago by Michael Dempsey - Sr. Developer, Teradata Corp

The user controls the font size so I can't change that.

It seems that if they set a [much] larger font AND I set a larger margin width then it does get slightly wider.
I guess I'll set the wider margin so that they will get the wider bar if they do happen to set a larger font.
(Font size 10 looked no wider than 8, but 12 made it wider)

The latest build of this product (v24.1.0) was released 4 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.