Disabling breakpoints

SyntaxEditor for Windows Forms Forum

Posted 19 years ago by phruby
Avatar
I have a number of breakpoints on my screen and I want to disable them. How can I change the selected breakpoint to a disabled state? (basically a red unfilled circle).

Comments (3)

Posted 19 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
You'd probably have to create a custom SpanIndicator, maybe inherit from our breakpoint one, and give it an Enabled property. Then override the glyph drawing if it is disabled. I'll add this to our TODO list as well.


Actipro Software Support

Posted 19 years ago by phruby
Avatar
Ok. My next question is can I add a breakpoint without selecting some text on a line? I just want to click on the indicator margin and have the breakpoint appear at that location simular to the way it works in visual studio.
Posted 19 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
In that case then maybe you want to make it a LineIndicator instead of a SpanIndicator. Similar to our bookmark sample. With those, you don't need any text to be spanned.


Actipro Software Support

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

Add Comment

Please log in to a validated account to post comments.