mod/maxgui.mod/fltkmaxgui.mod/src/Fl_Text_Display.cxx
void Fl_Text_Display::insert(const char* text) {
  IS_UTF8_ALIGNED2(buffer(), mCursorPos)
  IS_UTF8_ALIGNED(text)
  
  int pos = mCursorPos;
  
  mCursorToHint = pos + strlen( text );
  mBuffer->insert( pos, text );
  mCursorToHint = NO_HINT;
}
/**
 \brief Inserts "text" at the current cursor location.  
 
 This has the same effect as inserting the text into the buffer using BufInsert 
 and then moving the insert position after the newly inserted text, except
 that it's optimized to do less redrawing.
 
 \param text new text in UTF-8 encoding.
 */
\brief Inserts "text" at the current cursor location.
This has the same effect as inserting the text into the buffer using BufInsert
and then moving the insert position after the newly inserted text, except
that it's optimized to do less redrawing.

\param text new text in UTF-8 encoding.
\ brief Inserts " text " at the current cursor location . This has the same effect as inserting the text into the buffer using BufInsert and then moving the insert position after the newly inserted text except that it ' s optimized to do less redrawing . \ param text new text in UTF - 8 encoding .
void Fl_Text_Display::insert(const char* text) {
  IS_UTF8_ALIGNED2(buffer(), mCursorPos)
  IS_UTF8_ALIGNED(text)
  int pos = mCursorPos;
  mCursorToHint = pos + strlen( text );
  mBuffer->insert( pos, text );
  mCursorToHint = NO_HINT;
}
void Fl_Text_Display :: insert ( const char * text ) { IS_UTF8_ALIGNED2 ( buffer ( ) , mCursorPos ) IS_UTF8_ALIGNED ( text ) int pos = mCursorPos ; mCursorToHint = pos + strlen ( text ) ; mBuffer -> insert ( pos , text ) ; mCursorToHint = NO_HINT ; }
\brief Inserts "text" at the current cursor location.
\ brief Inserts " text " at the current cursor location .