[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Re: word wrapping in text editor

On 3/18/2009 6:11 AM, Damien wrote:
Hi Lorenzo,

I am precisely trying to find how to do this. Have you found any
solution since your last message ?

Would anyone else know how to visually wrap lines of an eclipse text
editor like in other text editors ?

It is an extremely complicated problem, not as simple as it might seem. There is a long-standing bug in Bugzilla that has pages of discussion, but I don't remember the bug number. Searching Bugzilla should find it: https://bugs.eclipse.org/bugs


Eric


Lorenzo Bettini a écrit :
Jharsseph wrote:
Maybe we can try with the styles, something like:

Text foo_txt = new Text(parent, SWT.MULTI | SWT.WRAP);


Actually I need this feature when editing simple text files; this is quite a standard feature and other simple text editors do. Are you talking about adding this feature to eclipse itself?

Note that I'd need a feature to enable/disable visual word
wrapping...

thanks Lorenzo