[MonoDevelop] Right mouse click on bookmarks/breakpoints panel after last line.

Jeff Stedfast jeff at xamarin.com
Mon Aug 6 21:20:37 UTC 2012


Hi,

Could you submit this bug to http://bugzilla.xamarin.com under MonoDevelop
/ TextEditor ?

Thanks!

Jeff

On Mon, Aug 6, 2012 at 12:37 PM, Ventsislav Mladenov <
ventsislav.mladenov at gmail.com> wrote:

> Hi,
>    I found bug - if I click with right mouse button on left panel where
> bookmarks and breakpoints are placed I get ArgumentException "Line <
> MinLine"
> This is because OnIconButtonPress in method of SourceEditorView
> args.LineNumber == 0 and it is passed to TextEditor.Caret.Line.
>
> I'm thinking that this is a bug and have to be fixed.
> There are two possible fixes:
> 1. Add one check in OnIconButtonPress
> if (args.LineNumber < Mono.TextEditor.DocumentLocation.MinLine)
>    return;
> 2. args.LineNumber should point to the latest line of file.
>
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodevelop-list/attachments/20120806/d0d31d0f/attachment.html>


More information about the Monodevelop-list mailing list