Change from XmTextInsert() calls to one XmTextSetString call. Create a large string buffer, create the string inside it, then make one call to write that string into the widget. Should speed things up dramatically.
Log in to post a comment.