Bug 8198 - Whole selected block not deleted
Summary: Whole selected block not deleted
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Version: 3.0.x
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2012-11-03 14:36 UTC by pinggi
Modified: 2012-11-05 04:32 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Delete error (57.70 KB, image/png)
2012-11-03 14:36 UTC, pinggi
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description pinggi 2012-11-03 14:36:12 UTC
Created attachment 2853 [details]
Delete error

Look at the attachment pls.

Here is the code:

using System;

namespace MonoDevelopTest
{
	public class Class
	{
		public Class()
		{
		}

		public void DeleteTestMethod()
		{
			throw new Exception();
		}

	}
}
Comment 1 Mike Krüger 2012-11-05 04:32:14 UTC
That bug got fixed - I've reworked the virtual input layer. 
Unfortunately that can't be easily backported into the 3.x line.

But there is a work around for 3.x:

Go to options->source code->code formatting->text file 

Disable 'remove trailing whitespaces' - that should fix it in the 3.x line.
The next release (I think we'll release it as 4.0) won't have the bug anymore sorry for the inconveniences.