mod/maxgui.mod/fltkmaxgui.mod/src/Fl_Text_Display.cxx
void Fl_Text_Display::absolute_top_line_number(int oldFirstChar) {
  if (maintaining_absolute_top_line_number()) {
    if (mFirstChar < oldFirstChar)
      mAbsTopLineNum -= buffer()->count_lines(mFirstChar, oldFirstChar);
    else
      mAbsTopLineNum += buffer()->count_lines(oldFirstChar, mFirstChar);
  }
}
/**
 \brief Line numbering stuff, currently unused.
 
 Re-calculate absolute top line number for a change in scroll position.
 */
\brief Line numbering stuff, currently unused.
Re-calculate absolute top line number for a change in scroll position.
\ brief Line numbering stuff currently unused . Re - calculate absolute top line number for a change in scroll position .
void Fl_Text_Display::absolute_top_line_number(int oldFirstChar) {
  if (maintaining_absolute_top_line_number()) {
    if (mFirstChar < oldFirstChar)
      mAbsTopLineNum -= buffer()->count_lines(mFirstChar, oldFirstChar);
    else
      mAbsTopLineNum += buffer()->count_lines(oldFirstChar, mFirstChar);
  }
}
void Fl_Text_Display :: absolute_top_line_number ( int oldFirstChar ) { if ( maintaining_absolute_top_line_number ( ) ) { if ( mFirstChar < oldFirstChar ) mAbsTopLineNum -= buffer ( ) -> count_lines ( mFirstChar , oldFirstChar ) ; else mAbsTopLineNum += buffer ( ) -> count_lines ( oldFirstChar , mFirstChar ) ; } }
\brief Line numbering stuff, currently unused.
\ brief Line numbering stuff currently unused .