[MonoDevelop] MonoDevelop 3.0.2 on Mac OS X and document formating

Michael Hutchinson m.j.hutchinson at gmail.com
Wed Jun 6 18:10:43 UTC 2012


On 5 June 2012 04:30, Alexey Trizno <xpg934 at gmail.com> wrote:
> Why MonoDevelop always wrap long lines, when document formating occured?
> For example:
>
>         static BubbleCell()
>         {
>             bright = UIImage.FromFile("Images/bubble_green.png");
>             bleft = UIImage.FromFile("Images/bubble_grey.png");
>
>             left = bleft.CreateResizableImage(new UIEdgeInsets(10, 16, 18,
> 26));
>             right = bright.CreateResizableImage(new UIEdgeInsets(11, 11, 17,
> 18));
>         }
>
> after document formating:
>
>         static BubbleCell()
>         {
>             bright = UIImage.FromFile("Images/bubble_green.png");
>             bleft = UIImage.FromFile("Images/bubble_grey.png");
>
>             left = bleft.CreateResizableImage(new UIEdgeInsets(10, 16, 18,
> 26));
>             right = bright.CreateResizableImage(new UIEdgeInsets(
>                 11,
>                 11,
>                 17,
>                 18
>             ));
>         }
>
> why? file line width set to 120 in settings.
> how I can disable wrapping, like this, at all?

This is a bug in MD 3.0.(0,1). In MD 3.0.2 it was fixed for on-the-fly
formatting but still happens with full document format. It should be
fixed fully in MD 3.0.3, which will be released soon.

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Monodevelop-list mailing list