mod/maxgui.mod/fltkmaxgui.mod/src/Fl_Text_Display.cxx
int Fl_Text_Display::in_selection( int X, int Y ) const {
  int pos = xy_to_position( X, Y, CHARACTER_POS );
  IS_UTF8_ALIGNED2(buffer(), pos)
  Fl_Text_Buffer *buf = mBuffer;
  return buf->primary_selection()->includes(pos);
}
/**
 \brief Check if a pixel position is within the primary seection.
 \param X, Y pixel position to test
 \return 1 if position (X, Y) is inside of the primary Fl_Text_Selection
 */
\brief Check if a pixel position is within the primary seection.
\param X, Y pixel position to test
\return 1 if position (X, Y) is inside of the primary Fl_Text_Selection
\ brief Check if a pixel position is within the primary seection . \ param X Y pixel position to test \ return 1 if position ( X Y ) is inside of the primary Fl_Text_Selection
int Fl_Text_Display::in_selection( int X, int Y ) const {
  int pos = xy_to_position( X, Y, CHARACTER_POS );
  IS_UTF8_ALIGNED2(buffer(), pos)
  Fl_Text_Buffer *buf = mBuffer;
  return buf->primary_selection()->includes(pos);
}
int Fl_Text_Display :: in_selection ( int X , int Y ) const { int pos = xy_to_position ( X , Y , CHARACTER_POS ) ; IS_UTF8_ALIGNED2 ( buffer ( ) , pos ) Fl_Text_Buffer * buf = mBuffer ; return buf -> primary_selection ( ) -> includes ( pos ) ; }
\brief Check if a pixel position is within the primary seection.
\ brief Check if a pixel position is within the primary seection .