sleep(2000);
	private void measureJavaIndenter(PerformanceMeter performanceMeter, int runs) {		IDocument document= EditorTestHelper.getDocument(fEditor);		Display display= EditorTestHelper.getActiveDisplay();		IAction undo= fEditor.getAction(ITextEditorActionConstants.UNDO);		int originalNumberOfLines= document.getNumberOfLines();		for (int i= 0; i < runs; i++) {			performanceMeter.start();			SWTEventHelper.pressKeyCode(display, SWT.CR);			performanceMeter.stop();			assertEquals(originalNumberOfLines + 1, document.getNumberOfLines());			runAction(undo);			assertEquals(originalNumberOfLines, document.getNumberOfLines());			sleep(2000); // NOTE: runnables posted from other threads, while the main thread waits here, are executed and measured only in the next iteration		}	}