[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.swt] Re: TextCellEditor - no selection of value when editing
|
Fabian Eberhardt <fabian.eberhardt@xxxxxxx> wrote:
> Hi,
>
> I have a TableViewer with CellEditors. Works fine, but when activating
> the inline editing the whole value is selected. I want no selection,
> but the cursor at the end of the current value (like F2 in Excel). Is
> this possible?
>
((Text)textEditor.getControl()).setSelection(
((Text)textEditor.getControl()).getText().length());
--
Sunil