| [news.eclipse.platform.rcp] Re: Word Wrap in TextEditor ? |
Yes, in your subclass you can call org.eclipse.ui.texteditor.AbstractTextEditor.getSourceViewer(). getTextWidget(). You could then enable word wrap. Note however, that all line-based TextEditor features would get into trouble.Hi Eric,
Extending TextEditor (such as the xmlEditor template) is there access to an underlying SWT component?
Thanks
Charlie
Eric Rizzo wrote:Charlie Kelly wrote:Hi,
Is it possible to set word-wrapping in a TextEditor?
No (not yet). If you'd like to know why and have a spare hour, read the entire discussion at https://bugs.eclipse.org/35779 and the other bugs that it duplicates/links to.
Eric