Home
last modified time | relevance | path

Searched refs:rl_point (Results 1 – 20 of 20) sorted by relevance

/NextBSD/contrib/libreadline/
HDvi_mode.c212 if (rl_point > 0)
221 if (rl_point > 0)
327 if ((rl_point < rl_end) && (!whitespace (rl_line_buffer[rl_point])))
329 if (!whitespace (rl_line_buffer[rl_point + 1]))
331 rl_point++;
367 if (rl_point == 0)
389 if (rl_point >= (rl_end - 1))
425 while (count-- && rl_point < (rl_end - 1))
428 while (!whitespace (rl_line_buffer[rl_point]) && rl_point < rl_end)
429 rl_point++;
[all …]
HDkill.c210 orig_point = rl_point;
213 if (rl_point != orig_point)
214 rl_kill_text (orig_point, rl_point);
216 rl_point = orig_point;
218 rl_mark = rl_point;
234 orig_point = rl_point;
237 if (rl_point != orig_point)
238 rl_kill_text (orig_point, rl_point);
241 rl_mark = rl_point;
258 orig_point = rl_point;
[all …]
HDtext.c92 for (i = rl_end; i >= rl_point; i--)
94 strncpy (rl_line_buffer + rl_point, string, l);
103 (rl_undo_list->end == rl_point) &&
107 rl_add_undo (UNDO_INSERT, rl_point, rl_point + l, (char *)NULL);
109 rl_point += l;
172 _RL_FIX_POINT (rl_point);
190 rl_point = start;
261 int end = rl_point + count;
270 rl_point = lend;
274 rl_point = end;
[all …]
HDmisc.c364 rl_point = rl_end; /* rl_replace_line sets rl_end */ in rl_maybe_unsave_line()
400 rl_point = (_rl_history_preserve_point && _rl_history_saved_point != -1) in _rl_history_set_point()
403 if (rl_point > rl_end) in _rl_history_set_point()
404 rl_point = rl_end; in _rl_history_set_point()
408 rl_point = 0; in _rl_history_set_point()
412 rl_mark = (rl_point == rl_end ? 0 : rl_end); in _rl_history_set_point()
424 rl_point = rl_end;
430 rl_point = 0;
477 if (_rl_history_saved_point == -1 && (rl_point || rl_end))
478 _rl_history_saved_point = (rl_point == rl_end) ? -1 : rl_point;
[all …]
HDsearch.c164 rl_point = 0;
181 rl_point = 0;
211 rl_end = rl_point = 0;
247 rl_point = cxt->save_point;
278 if (rl_point == 0)
319 if (rl_point == 0)
497 if (rl_point > rl_history_search_len)
499 rl_point = rl_end = rl_history_search_len;
504 rl_point = rl_history_search_len; /* rl_maybe_unsave_line changes it */
513 rl_point = rl_history_search_len;
[all …]
HDcomplete.c821 end = rl_point;
863 rl_point = end;
870 rl_point = scan + 1;
882 if (rl_point == end && quote_char == '\0')
887 while ((rl_point = MB_PREVCHAR (rl_line_buffer, rl_point, MB_FIND_ANY)))
889 scan = rl_line_buffer[rl_point];
897 (*rl_char_is_quoted_p) (rl_line_buffer, rl_point))
907 scan = rl_line_buffer[rl_point];
918 (*rl_char_is_quoted_p) (rl_line_buffer, rl_point) == 0) &&
929 (end - rl_point) > 1)
[all …]
HDparens.c125 find_matching_open (rl_line_buffer, rl_point - 2, invoking_key);
136 orig_point = rl_point;
137 rl_point = match_point;
140 rl_point = orig_point;
HDundo.c169 #define TRANS(i) ((i) == -1 ? rl_point : ((i) == -2 ? rl_end : (i))) in rl_do_undo()
192 rl_point = start; in rl_do_undo()
200 rl_point = start; in rl_do_undo()
302 rl_point = rl_mark = 0; /* rl_end should be set correctly */
HDisearch.c98 cxt->save_point = rl_point;
253 cxt->sline_index = rl_point;
292 rl_point = cxt->sline_index;
451 rl_point = cxt->save_point;
460 wstart = rl_point + cxt->search_string_index;
495 wstart = rl_point + cxt->search_string_index;
595 rl_point = cxt->sline_index;
HDutil.c182 end = rl_point;
185 if (rl_point == rl_end && rl_line_buffer[rl_point] == '~')
HDreadline.c151 int rl_point; variable
439 rl_point == 0 && rl_end == 0) in _rl_internal_char_cleanup()
566 rl_point = rl_end = rl_mark = 0; in _rl_init_line_state()
1160 sp->point = rl_point;
1194 rl_point = sp->point;
HDreadline.h501 extern int rl_point;
HDdisplay.c741 if (in == rl_point) in rl_redisplay()
835 if (in == rl_point) in rl_redisplay()
/NextBSD/contrib/libreadline/examples/
HDmanexamp.c69 start = rl_point;
111 rl_point = end - direction;
/NextBSD/lib/libedit/edit/readline/
HDreadline.h106 extern int rl_point, rl_end;
/NextBSD/contrib/gdb/gdb/
HDcompleter.c103 return line_completion_function (text, matches, rl_line_buffer, rl_point); in readline_line_completion_function()
/NextBSD/contrib/gdb/gdb/tui/
HDtui-io.c236 if (in == rl_point) in tui_redisplay_readline()
/NextBSD/contrib/libreadline/examples/rlfe/
HDrlfe.c238 if (ch == eof_char && rl_point == rl_end) in is_special_char()
/NextBSD/lib/libedit/
HDreadline.c80 int rl_point = 0; variable
1843 &rl_point, &rl_end, NULL, NULL, NULL); in rl_complete()
2152 rl_point = (int)(li->cursor - li->buffer); in _rl_update_pos()
/NextBSD/contrib/libreadline/doc/
HDrltech.texi302 @deftypevar int rl_point
309 @code{rl_point} is at the end of the line, @code{rl_point} and
1255 start = rl_point;
1257 if (rl_point >= rl_end)
1299 rl_point = (direction == 1) ? end - 1 : start;