[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: [JFACE] loose focus from SourceViewer

Raheel Ashraf wrote:
Hi,
I have a editor, which among things has a SourceViewer. The problem is that when this SourceViewer has focus, I press tab, it actually puts a tab in the code. So how do I give focus to other controls in the editor using the keyboard. This is a big accesbility problem for us, so any help would be appreciated..
This is the correct behavior for the source viewer. Having said that, you have several choices:
1) use Ctrl+Tab to switch to the next widget
2) use the Text widget instead
3) add a VerifyKeyListener to viewer.getTextWidget() and do the traversal yourself


Dani