Bug 27512 Auto-indent levels broken for cut and paste
On M3: 1) Double-click on the opening brace '{' of a method. 2) Cut the method body. 3) Paste the method body. Problem: indentation is mangled incorrectly.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaAutoIndentStrategy.java
return buffer.toString();
	}
	private String stripIndent(String paragraph, String lineDelimiter) {
		final StringBuffer buffer= new StringBuffer();
		
		int minIndentWidth= Integer.MAX_VALUE;
		for (final Iterator iterator= new LineIterator(paragraph); iterator.hasNext();) {
			String line= (String) iterator.next();
			String trimmedLine= line.trim();
			if (trimmedLine.length() == 0)
				continue;
			int index= line.indexOf(trimmedLine);
			String indent= line.substring(0, index);
			int width= calculateDisplayedWidth(indent);
			minIndentWidth= Math.min(minIndentWidth, width);
		}
		
		for (final Iterator iterator= new LineIterator(paragraph); iterator.hasNext();) {
			String line= (String) iterator.next();
			String trimmedLine= line.trim();
			if (trimmedLine.length() != 0) {
				int index= line.indexOf(trimmedLine);
				String indent= line.substring(0, index);
				int width= calculateDisplayedWidth(indent);
				int strippedWidth= width - minIndentWidth;
				String prefix= createPrefix(strippedWidth);
				buffer.append(prefix);
				buffer.append(trimmedLine);
			}
			if (iterator.hasNext())