Hi! I'd like to know what are the 2 characters around the cursor in a TextView in a given moment. How should I do it?
I found TextIter.get_char(), but it only gets the next character, not the previous. Besides, I don't know how to create a TextIter of the current offset of the cursor. Why all this? I want a TextView where no 2 spaces can be written one after the other, just like in lyx. Thank you in advance! D�vik --------------------------------------------------- Jabber: [EMAIL PROTECTED], [EMAIL PROTECTED] Mocosoft messenger: [EMAIL PROTECTED] PGP: 4DB2B81F (pgp.rediris.es) _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
