Bug 169997 [CellEditors] TableViewer doesn't activate TextCellEditor consistently
A TextCellEditor is not activated consistently in a TableViewer if the cell clicked is not in the currently selected row. Running the sample application in a debugger, the bounds reported for the table item appears to be incorrect for the column when the row is not selected. This behaviour can be observed by setting a breakpoint at TableEditorImpl.java line 135 (the if statement doesn't return true unless the row is selected due to the bounds being incorrect): if (bounds.contains(event.x, event.y)) {
bundles/org.eclipse.jface/src/org/eclipse/jface/viewers/TableViewer.java
return selection[0];
				}
			}
		}
		return table.getItem(p);
	}
	
	protected int doGetItemCount() {
		return table.getItemCount();
	}
	protected int doIndexOf(Item item) {
		return table.indexOf((TableItem)item);
	}
	protected void doSetItemCount(int count) {
		table.setItemCount(count);
	}
	protected Item[] doGetItems() {
		return table.getItems();
	}
	protected int doGetColumnCount() {
		return table.getColumnCount();
	}
	protected Widget doGetColumn(int index) {
		return table.getColumn(index);
	}
	protected Item doGetItem(int index) {
		return table.getItem(index);
	}
	protected Item[] doGetSelection() {
		return table.getSelection();