vendor/fltk-sys/cfltk/fltk/src/Fl_Text_Editor.cxx
/** Removes the key binding associated with the key \p key of state \p state
    from the Key_Binding list \p list.

    This can be used in derived classes to remove global key bindings
    by using the global (static) Key_Binding list
    Fl_Text_Editor::global_key_bindings.
*/
Removes the key binding associated with the key \p key of state \p state
from the Key_Binding list \p list.

This can be used in derived classes to remove global key bindings
by using the global (static) Key_Binding list
Fl_Text_Editor::global_key_bindings.
Removes the key binding associated with the key \ p key of state \ p state from the Key_Binding list \ p list . This can be used in derived classes to remove global key bindings by using the global ( static ) Key_Binding list Fl_Text_Editor :: global_key_bindings .
void Fl_Text_Editor::remove_key_binding(int key, int state, Key_Binding** list) {
  Key_Binding *cur, *last = 0;
  for (cur = *list; cur; last = cur, cur = cur->next)
    if (cur->key == key && cur->state == state) break;
  if (!cur) return;
  if (last) last->next = cur->next;
  else *list = cur->next;
  delete cur;
}
void Fl_Text_Editor :: remove_key_binding ( int key , int state , Key_Binding * * list ) { Key_Binding * cur , * last = 0 ; for ( cur = * list ; cur ; last = cur , cur = cur -> next ) if ( cur -> key == key && cur -> state == state ) break ; if ( ! cur ) return ; if ( last ) last -> next = cur -> next ; else * list = cur -> next ; delete cur ; }
Removes the key binding associated with the key \p key of state \p state
from the Key_Binding list \p list.
Removes the key binding associated with the key \ p key of state \ p state from the Key_Binding list \ p list .