mod/maxgui.mod/fltkmaxgui.mod/src/Fl_Text_Display.cxx
void Fl_Text_Display::calc_last_char() {
  int i;
  for (i = mNVisibleLines - 1; i >= 0 && mLineStarts[i] == -1; i--) ;
  mLastChar = i < 0 ? 0 : line_end(mLineStarts[i], true);
}
/**
 \brief Update last display character index.
 
 Given a Fl_Text_Display with a complete, up-to-date lineStarts array, update
 the lastChar entry to point to the last buffer position displayed.
 */
\brief Update last display character index.
Given a Fl_Text_Display with a complete, up-to-date lineStarts array, update
the lastChar entry to point to the last buffer position displayed.
\ brief Update last display character index . Given a Fl_Text_Display with a complete up - to - date lineStarts array update the lastChar entry to point to the last buffer position displayed .
void Fl_Text_Display::calc_last_char() {
  int i;
  for (i = mNVisibleLines - 1; i >= 0 && mLineStarts[i] == -1; i--) ;
  mLastChar = i < 0 ? 0 : line_end(mLineStarts[i], true);
}
void Fl_Text_Display :: calc_last_char ( ) { int i ; for ( i = mNVisibleLines - 1 ; i >= 0 && mLineStarts [ i ] == -1 ; i -- ) ; mLastChar = i < 0 ? 0 : line_end ( mLineStarts [ i ] , true ) ; }
\brief Update last display character index.
\ brief Update last display character index .