On Sun, Jul 21, 2002 at 07:13:50PM +0200, [EMAIL PROTECTED] wrote:
> 
> 
> Hi to all,
> i'm looking for the easiest way to automatically replace tab with spaces into a
> GtkTextBuffer. Has anyone already found the solution?

string.replace("\t"," ",buffer.get_text()) ?

Take care,
--
Christian Reis, Senior Engineer, Async Open Source, Brazil.
http://async.com.br/~kiko/ | [+55 16] 261 2331 | NMFL
_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to