[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: Snippet052DouleClickCellEditor / TextCellEditor: How to disable the cell highlighting

Hi,

There's no possibility to configure this kind of thing and because TextCellEditor is marked as should not intended to be subclassed the only API possibility is see is to add an editor activation listener and reset the selection.

If you don't bother you can of course also subclass TextCellEditor and overload doSetFocus(). Maybe we should make this configureable from the outside. Could you please file a bug and cc me.

Tom

H. Steenblock schrieb:
Hello!

Entering the editor mode the cell contents is automatically highlighted. Is there a way to disable the selection?

We derived the TextCellEditor class but we didn't find a suitable solution.

Regards,
H. Steenblock


--
B e s t S o l u t i o n . at
--------------------------------------------------------------------
Tom Schindl                                          JFace-Committer
--------------------------------------------------------------------