mod/maxgui.mod/fltkmaxgui.mod/src/Fl_Text_Display.cxx
int Fl_Text_Display::wrapped_row(int row) const{
  if (!mContinuousWrap || row < 0 || row > mNVisibleLines)
    return row;
  return buffer()->count_lines(mFirstChar, mLineStarts[row]);
}
/**
 \brief Nobody knows what this function does.
 
 Correct a row number from an unconstrained position (as returned by
 TextDXYToUnconstrainedPosition) to a straight number of newlines from the
 top line of the display.  Because rectangular selections are based on
 newlines, rather than display wrapping, and anywhere a rectangular selection
 needs a row, it needs it in terms of un-wrapped lines.
 
 \param row
 \param column
 \return something unknown
 \todo What does this do and how is it useful? Column numbers mean little in 
 this context. Which functions depend on this one?
 */
\brief Nobody knows what this function does.
Correct a row number from an unconstrained position (as returned by
TextDXYToUnconstrainedPosition) to a straight number of newlines from the
top line of the display.  Because rectangular selections are based on
newlines, rather than display wrapping, and anywhere a rectangular selection
needs a row, it needs it in terms of un-wrapped lines.

\param row
\param column
\return something unknown
\todo What does this do and how is it useful. Column numbers mean little in
this context.
\ brief Nobody knows what this function does . Correct a row number from an unconstrained position ( as returned by TextDXYToUnconstrainedPosition ) to a straight number of newlines from the top line of the display . Because rectangular selections are based on newlines rather than display wrapping and anywhere a rectangular selection needs a row it needs it in terms of un - wrapped lines . \ param row \ param column \ return something unknown \ todo What does this do and how is it useful . Column numbers mean little in this context .
int Fl_Text_Display::wrapped_row(int row) const{
  if (!mContinuousWrap || row < 0 || row > mNVisibleLines)
    return row;
  return buffer()->count_lines(mFirstChar, mLineStarts[row]);
}
int Fl_Text_Display :: wrapped_row ( int row ) const { if ( ! mContinuousWrap || row < 0 || row > mNVisibleLines ) return row ; return buffer ( ) -> count_lines ( mFirstChar , mLineStarts [ row ] ) ; }
\brief Nobody knows what this function does.
\ brief Nobody knows what this function does .