Bug 89773 [Viewers] Search keeps showing selection while results still being added
build I20050330-0500 - do a search that will generate many results (refs to PartInitException in my case) - as the results are being added, select one of the first matches, then use the scroll wheel or scroll bar to scroll down and see the results as they come in - it keeps jumping back to show the selection I hope it's not the basic viewer refresh code that's doing this (I don't think so).
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/TableViewer.java
for (int i = 0; i < size; ++i) {
			Object o = list.get(i);
			Widget w = findItem(o);
			if (w instanceof TableItem) {
				TableItem item = (TableItem) w;
				indices[count++] = getTable().indexOf(item);
				if (firstItem == null)
					firstItem = item;
			}
			else
				virtualElements.add(o);
		}
		
		if(getContentProvider() instanceof ILazyContentProvider){
			ILazyContentProvider provider = 
				(ILazyContentProvider) getContentProvider();
		
			
			
			
			
			for (int i = 0; virtualElements.size() > 0 && i < getTable().getItemCount(); i++) {
				provider.updateElement(i);
				TableItem item = getTable().getItem(i);
				if(virtualElements.contains(item.getData())){
					indices[count++] = i;	
					virtualElements.remove(item.getData());
					if (firstItem == null)
						firstItem = item;
				}