Re: Word wrap in Textview, how?



Maybe I misunderstand you but I think what you need is

$textview->set_wrap_mode("word");

Gabor

On 7/29/05, Yu Wang <xiaohuwang hotmail com> wrote:
Hi, all

I want to have a textview widget behaves like a simple text editor. The desired
right margin at column is 80 characters, and text row with its length larger
than 80 chars will be wrapped back to a new line.

What is the right way to do this?

Thanks!




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]