Displaying 1 result from an estimated 1 matches for "append_buffer".
2007 Jun 17
2
Wx::TextCtrl and wxMSW
...ave trouble with
dealing with Wx::TextCtrl, _AND_ have word wrapping action going on. As
this seems to be a problem with dealing with word wrapping, I''ve been able
to create a solution to make autoscrolling work.
I create my own method for appending text to the Wx::TextCtrl buffer, Named
append_buffer.
Here is what it looks like:
class MyBuffer < Wx::TextCtrl
def append_buffer(text)
# I have some processing of the text to colorize it, but I think this is
just generally a problem
# with word wrapping in general
self.freeze # Freeze the buffer, so the control doesn''t t...