mod/maxgui.mod/fltkmaxgui.mod/src/Fl_Text_Editor.cxx
int Fl_Text_Editor::kf_undo(int , Fl_Text_Editor* e) {
  e->buffer()->unselect();
  int crsr;
  int ret = e->buffer()->undo(&crsr);
  e->insert_position(crsr);
  e->show_insert_position();
  e->set_changed();
  if (e->when()&FL_WHEN_CHANGED) e->do_callback();
  return ret;
}
/**  Undo last edit in the current buffer. Also deselect previous selection. */
Undo last edit in the current buffer. Also deselect previous selection.
Undo last edit in the current buffer . Also deselect previous selection .
int Fl_Text_Editor::kf_undo(int , Fl_Text_Editor* e) {
  e->buffer()->unselect();
  int crsr;
  int ret = e->buffer()->undo(&crsr);
  e->insert_position(crsr);
  e->show_insert_position();
  e->set_changed();
  if (e->when()&FL_WHEN_CHANGED) e->do_callback();
  return ret;
}
int Fl_Text_Editor :: kf_undo ( int , Fl_Text_Editor * e ) { e -> buffer ( ) -> unselect ( ) ; int crsr ; int ret = e -> buffer ( ) -> undo ( & crsr ) ; e -> insert_position ( crsr ) ; e -> show_insert_position ( ) ; e -> set_changed ( ) ; if ( e -> when ( ) & FL_WHEN_CHANGED ) e -> do_callback ( ) ; return ret ; }
Undo last edit in the current buffer.
Undo last edit in the current buffer .