mod/maxgui.mod/fltkmaxgui.mod/src/Fl_Text_Display.cxx
Fl_Text_Display::~Fl_Text_Display() {
  if (scroll_direction) {
    Fl::remove_timeout(scroll_timer_cb, this);
    scroll_direction = 0;
  }
  if (mBuffer) {
    mBuffer->remove_modify_callback(buffer_modified_cb, this);
    mBuffer->remove_predelete_callback(buffer_predelete_cb, this);
  }
  if (mLineStarts) delete[] mLineStarts;
}
/**
 Free a text display and release its associated memory.
 
 Note, the text BUFFER that the text display displays is a separate
 entity and is not freed, nor are the style buffer or style table.
 */
Free a text display and release its associated memory.
Note, the text BUFFER that the text display displays is a separate
entity and is not freed, nor are the style buffer or style table.
Free a text display and release its associated memory . Note the text BUFFER that the text display displays is a separate entity and is not freed nor are the style buffer or style table .
Fl_Text_Display::~Fl_Text_Display() {
  if (scroll_direction) {
    Fl::remove_timeout(scroll_timer_cb, this);
    scroll_direction = 0;
  }
  if (mBuffer) {
    mBuffer->remove_modify_callback(buffer_modified_cb, this);
    mBuffer->remove_predelete_callback(buffer_predelete_cb, this);
  }
  if (mLineStarts) delete[] mLineStarts;
}
Fl_Text_Display :: ~ Fl_Text_Display ( ) { if ( scroll_direction ) { Fl :: remove_timeout ( scroll_timer_cb , this ) ; scroll_direction = 0 ; } if ( mBuffer ) { mBuffer -> remove_modify_callback ( buffer_modified_cb , this ) ; mBuffer -> remove_predelete_callback ( buffer_predelete_cb , this ) ; } if ( mLineStarts ) delete [ ] mLineStarts ; }
Free a text display and release its associated memory.
Free a text display and release its associated memory .