mod/maxgui.mod/fltkmaxgui.mod/src/Fl_Text_Display.cxx
int Fl_Text_Display::wrapped_column(int row, int column) const {
  int lineStart, dispLineStart;
  
  if (!mContinuousWrap || row < 0 || row > mNVisibleLines)
    return column;
  dispLineStart = mLineStarts[row];
  if (dispLineStart == -1)
    return column;
  lineStart = buffer()->line_start(dispLineStart);
  return column + buffer()->count_displayed_characters(lineStart, dispLineStart);
}
/**
 \brief Nobody knows what this function does.
 
 Correct a column number based on an unconstrained position (as returned by
 TextDXYToUnconstrainedPosition) to be relative to the last actual newline
 in the buffer before the row and column position given, rather than the
 last line start created by line wrapping.  This is an adapter
 for rectangular selections and code written before continuous wrap mode,
 which thinks that the unconstrained column is the number of characters
 from the last newline.  Obviously this is time consuming, because it
 invloves character re-counting.
 
 \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?
 
 \todo Unicode?
 */
\brief Nobody knows what this function does.
Correct a column number based on an unconstrained position (as returned by
TextDXYToUnconstrainedPosition) to be relative to the last actual newline
in the buffer before the row and column position given, rather than the
last line start created by line wrapping.  This is an adapter
for rectangular selections and code written before continuous wrap mode,
which thinks that the unconstrained column is the number of characters
from the last newline.  Obviously this is time consuming, because it
invloves character re-counting.

\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 column number based on an unconstrained position ( as returned by TextDXYToUnconstrainedPosition ) to be relative to the last actual newline in the buffer before the row and column position given rather than the last line start created by line wrapping . This is an adapter for rectangular selections and code written before continuous wrap mode which thinks that the unconstrained column is the number of characters from the last newline . Obviously this is time consuming because it invloves character re - counting . \ 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_column(int row, int column) const {
  int lineStart, dispLineStart;
  if (!mContinuousWrap || row < 0 || row > mNVisibleLines)
    return column;
  dispLineStart = mLineStarts[row];
  if (dispLineStart == -1)
    return column;
  lineStart = buffer()->line_start(dispLineStart);
  return column + buffer()->count_displayed_characters(lineStart, dispLineStart);
}
int Fl_Text_Display :: wrapped_column ( int row , int column ) const { int lineStart , dispLineStart ; if ( ! mContinuousWrap || row < 0 || row > mNVisibleLines ) return column ; dispLineStart = mLineStarts [ row ] ; if ( dispLineStart == -1 ) return column ; lineStart = buffer ( ) -> line_start ( dispLineStart ) ; return column + buffer ( ) -> count_displayed_characters ( lineStart , dispLineStart ) ; }
\brief Nobody knows what this function does.
\ brief Nobody knows what this function does .