Posted 16 years ago
by Nassim Farhat

I'm trying to replicate C# breakpoint behaviour in Visual Studio.
When I click on the Indicator Margin, I want to obtain the line textrange.
Now, your sample expect users to select the range before being able to put a breakpoint. So I was wondering, how do I get the textrange of the line where my mouse clicked in the Indicator Margin. I would also like to obtain the text string in that line so that I can do some verifications before allowing the user to place his breakpoint (ex. text.lenght > 0 && text.contains(xxx) etc...).
Regards
[Modified at 08/06/2009 02:22 PM]
[Modified at 08/06/2009 02:23 PM]
When I click on the Indicator Margin, I want to obtain the line textrange.
Now, your sample expect users to select the range before being able to put a breakpoint. So I was wondering, how do I get the textrange of the line where my mouse clicked in the Indicator Margin. I would also like to obtain the text string in that line so that I can do some verifications before allowing the user to place his breakpoint (ex. text.lenght > 0 && text.contains(xxx) etc...).
Regards
[Modified at 08/06/2009 02:22 PM]
[Modified at 08/06/2009 02:23 PM]