Home | History | Annotate | Download | only in src

Lines Matching full:el_keymacro

51  *	el->el_keymacro.map)
58 * are in el->el_keymacro.map, adding the key "abc" will cause
72 * The Nodes of the el->el_keymacro.map. The el->el_keymacro.map is a
107 el->el_keymacro.buf = el_malloc(KEY_BUFSIZ *
108 sizeof(*el->el_keymacro.buf));
109 if (el->el_keymacro.buf == NULL)
111 el->el_keymacro.map = NULL;
123 el_free(el->el_keymacro.buf);
124 el->el_keymacro.buf = NULL;
125 node__free(el->el_keymacro.map);
136 el->el_keymacro.val.cmd = (el_action_t) cmd;
137 return &el->el_keymacro.val;
148 el->el_keymacro.val.str = str;
149 return &el->el_keymacro.val;
154 * Takes all nodes on el->el_keymacro.map and puts them on free list.
155 * Then initializes el->el_keymacro.map with arrow keys
162 node__put(el, el->el_keymacro.map);
163 el->el_keymacro.map = NULL;
169 * Calls the recursive function with entry point el->el_keymacro.map
180 return node_trav(el, el->el_keymacro.map, ch, val);
185 * Adds key to the el->el_keymacro.map and associates the value in
186 * val with it. If key is already is in el->el_keymacro.map, the new
204 if (el->el_keymacro.map == NULL)
206 el->el_keymacro.map = node__get(key[0]);
209 /* Now recurse through el->el_keymacro.map */
210 (void) node__try(el, el->el_keymacro.map, key, val, ntype);
247 if (el->el_keymacro.map == NULL)
250 (void) node__delete(el, &el->el_keymacro.map, key);
257 * Print entire el->el_keymacro.map if null
263 /* do nothing if el->el_keymacro.map is empty and null key specified */
264 if (el->el_keymacro.map == NULL && *key == 0)
267 el->el_keymacro.buf[0] = '"';
268 if (node_lookup(el, key, el->el_keymacro.map, (size_t)1) <= -1)
503 /* If match put this char into el->el_keymacro.buf. Recurse */
506 used = ct_visual_char(el->el_keymacro.buf + cnt,
518 el->el_keymacro.buf[px] = '"';
519 el->el_keymacro.buf[px + 1] = '\0';
520 keymacro_kprint(el, el->el_keymacro.buf,
548 el->el_keymacro.buf[++cnt] = '"';
549 el->el_keymacro.buf[++cnt] = '\0';
553 el->el_keymacro.buf);
564 used = ct_visual_char(el->el_keymacro.buf + cnt, KEY_BUFSIZ - cnt,
568 el->el_keymacro.buf[cnt + (size_t)used ] = '"';
569 el->el_keymacro.buf[cnt + (size_t)used + 1] = '\0';
570 keymacro_kprint(el, el->el_keymacro.buf, &ptr->val, ptr->type);