String indent= getIndent(document, command) + createIndent(1);
String blockIndent= getIndent(document, command); String indent= blockIndent == null ? "" : blockIndent + createIndent(1);
	protected void pasteText(IDocument document, DocumentCommand command) {		String lineDelimiter= getLineDelimiter(document);				try {			String pastedText= command.text;			Assert.isNotNull(pastedText);			Assert.isTrue(pastedText.length() > 1);						String strippedParagraph= stripIndent(pastedText, lineDelimiter);						// check selection			int offset= command.offset;			int line= document.getLineOfOffset(offset);			int lineOffset= document.getLineOffset(line);						// format			String prefix= document.get(lineOffset, offset - lineOffset);			String indent= getIndent(document, command) + createIndent(1); // add one indent level 			boolean formatFirstLine= prefix.trim().length() == 0;			String formattedParagraph= format(strippedParagraph, indent, lineDelimiter, formatFirstLine);						// paste			if (formatFirstLine)				command.offset= lineOffset;			command.text= formattedParagraph;		} catch (BadLocationException e) {			JavaPlugin.log(e);					}	}	