mod/maxgui.mod/fltkmaxgui.mod/src/Fl_Text_Editor.cxx
int Fl_Text_Editor::kf_copy(int, Fl_Text_Editor* e) {
  if (!e->buffer()->selected()) return 1;
  const char *copy = e->buffer()->selection_text();
  if (*copy) Fl::copy(copy, strlen(copy), 1);
  free((void*)copy);
  e->show_insert_position();
  return 1;
}
/**  Does a copy of selected text or the current character in the current buffer.*/
Does a copy of selected text or the current character in the current buffer.
Does a copy of selected text or the current character in the current buffer .
int Fl_Text_Editor::kf_copy(int, Fl_Text_Editor* e) {
  if (!e->buffer()->selected()) return 1;
  const char *copy = e->buffer()->selection_text();
  if (*copy) Fl::copy(copy, strlen(copy), 1);
  free((void*)copy);
  e->show_insert_position();
  return 1;
}
int Fl_Text_Editor :: kf_copy ( int , Fl_Text_Editor * e ) { if ( ! e -> buffer ( ) -> selected ( ) ) return 1 ; const char * copy = e -> buffer ( ) -> selection_text ( ) ; if ( * copy ) Fl :: copy ( copy , strlen ( copy ) , 1 ) ; free ( ( void * ) copy ) ; e -> show_insert_position ( ) ; return 1 ; }
Does a copy of selected text or the current character in the current buffer.
Does a copy of selected text or the current character in the current buffer .