int line= buffer.getLineOfOffset(start); String delimiter= buffer.getLineDelimiter(line); int indent= TextUtilities.getIndent(buffer.getLineContentOfOffset(start), fTabWidth); setText(computeNewMethod(buffer, line, TextUtilities.createIndentString(indent), delimiter));
int startLine= buffer.getLineOfOffset(methodStart); int endLine= buffer.getLineOfOffset(methodEnd); String delimiter= buffer.getLineDelimiter(startLine); int indent= TextUtilities.getIndent(buffer.getLineContentOfOffset(methodStart), fTabWidth); setText(computeNewMethod(buffer, endLine, TextUtilities.createIndentString(indent), delimiter));
			public SimpleTextChange[] adjust(ITextBuffer buffer) {				int line= buffer.getLineOfOffset(start);				String delimiter= buffer.getLineDelimiter(line);				int indent= TextUtilities.getIndent(buffer.getLineContentOfOffset(start), fTabWidth);					setText(computeNewMethod(buffer, line, TextUtilities.createIndentString(indent), delimiter));				return null;			}