It seems that invisible text support in GTK is a bit buggy. Also, if you print something really long some things become slow even thought it is folded. I guess that the solution is to implement folding without use of invisible text, by storing the output in serialized form outside the text buffer. However, this will require significant work.
I fixed the resource hungry subprocess problem in revision 128.
This is a GTK+ bug: I reported it here: https:/ /bugzilla. gnome.org/ show_bug. cgi?id= 611069
It seems that invisible text support in GTK is a bit buggy. Also, if you print something really long some things become slow even thought it is folded. I guess that the solution is to implement folding without use of invisible text, by storing the output in serialized form outside the text buffer. However, this will require significant work.