Lines Matching refs:rl_point

96   for (i = rl_end; i >= rl_point; i--)
98 strncpy (rl_line_buffer + rl_point, string, l);
107 (rl_undo_list->end == rl_point) &&
111 rl_add_undo (UNDO_INSERT, rl_point, rl_point + l, (char *)NULL);
113 rl_point += l;
176 _RL_FIX_POINT (rl_point);
196 rl_point = start;
270 end = rl_point + count;
279 rl_point = lend;
283 rl_point = end;
299 point = _rl_find_next_mbchar (rl_line_buffer, rl_point, count, MB_FIND_NONZERO);
309 point = rl_point + count;
333 if (rl_point == rl_end && EMACS_MODE())
341 if (rl_point == point)
344 rl_point = point;
376 if (rl_point < count)
378 rl_point = 0;
382 rl_point -= count;
385 if (rl_point < 0)
386 rl_point = 0;
407 point = rl_point;
416 rl_point = 0;
420 rl_point = point;
447 rl_point = 0;
456 rl_point = rl_end;
472 if (rl_point == rl_end)
477 c = _rl_char_value (rl_line_buffer, rl_point);
481 rl_point = MB_NEXTCHAR (rl_line_buffer, rl_point, 1, MB_FIND_NONZERO);
482 while (rl_point < rl_end)
484 c = _rl_char_value (rl_line_buffer, rl_point);
487 rl_point = MB_NEXTCHAR (rl_line_buffer, rl_point, 1, MB_FIND_NONZERO);
491 if (rl_point == rl_end)
494 rl_point = MB_NEXTCHAR (rl_line_buffer, rl_point, 1, MB_FIND_NONZERO);
495 while (rl_point < rl_end)
497 c = _rl_char_value (rl_line_buffer, rl_point);
500 rl_point = MB_NEXTCHAR (rl_line_buffer, rl_point, 1, MB_FIND_NONZERO);
521 if (rl_point == 0)
527 p = MB_PREVCHAR (rl_line_buffer, rl_point, MB_FIND_NONZERO);
532 rl_point = p;
533 while (rl_point > 0)
535 p = MB_PREVCHAR (rl_line_buffer, rl_point, MB_FIND_NONZERO);
539 rl_point = p;
543 while (rl_point)
545 p = MB_PREVCHAR (rl_line_buffer, rl_point, MB_FIND_NONZERO);
550 rl_point = p;
880 if (rl_point < rl_end)
976 _rl_history_saved_point = (rl_point == rl_end) ? -1 : rl_point;
991 if (rl_erase_empty_line && rl_point == 0 && rl_end == 0)
1020 if (rl_point == 0)
1026 opoint = rl_point;
1032 l += rl_character_len (rl_line_buffer[rl_point], rl_point); /* not exactly right */
1038 rl_kill_text (opoint, rl_point);
1040 rl_delete_text (opoint, rl_point);
1043 if (rl_point < rl_end)
1045 opoint = rl_point;
1047 rl_point = opoint;
1063 if (!rl_point)
1086 if (rl_point == 0)
1092 orig_point = rl_point;
1096 rl_kill_text (orig_point, rl_point);
1100 c = rl_line_buffer[--rl_point];
1101 rl_delete_text (rl_point, orig_point);
1103 if (rl_point == rl_end && ISPRINT (c) && _rl_last_c_pos)
1106 l = rl_character_len (c, rl_point);
1112 rl_point = _rl_find_prev_mbchar (rl_line_buffer, rl_point, MB_FIND_NONZERO);
1113 rl_delete_text (rl_point, orig_point);
1130 if (rl_point == rl_end)
1138 xpoint = rl_point;
1144 rl_kill_text (xpoint, rl_point);
1145 rl_point = xpoint;
1149 xpoint = MB_NEXTCHAR (rl_line_buffer, rl_point, 1, MB_FIND_NONZERO);
1150 rl_delete_text (rl_point, xpoint);
1163 if (rl_end != 0 && rl_point == rl_end)
1176 while (rl_point && whitespace (rl_line_buffer[rl_point - 1]))
1177 rl_point--;
1179 start = rl_point;
1181 while (rl_point < rl_end && whitespace (rl_line_buffer[rl_point]))
1182 rl_point++;
1184 if (start != rl_point)
1186 rl_delete_text (start, rl_point);
1187 rl_point = start;
1190 if (rl_point < 0)
1191 rl_point = 0;
1203 if (rl_end != 0 && rl_point == rl_end)
1231 rl_delete_text (rl_point, rl_point + rl_comment_len);
1296 start = rl_point;
1298 end = rl_point;
1365 rl_point = end;
1383 int orig_point = rl_point;
1390 w2_end = rl_point;
1392 w2_beg = rl_point;
1394 w1_beg = rl_point;
1396 w1_end = rl_point;
1402 rl_point = orig_point;
1416 rl_point = w2_beg;
1420 rl_point = w1_beg;
1426 rl_point = w2_end;
1453 if (!rl_point || rl_end < 2)
1461 if (rl_point == rl_end)
1463 rl_point = MB_PREVCHAR (rl_line_buffer, rl_point, MB_FIND_NONZERO);
1467 prev_point = rl_point;
1468 rl_point = MB_PREVCHAR (rl_line_buffer, rl_point, MB_FIND_NONZERO);
1471 char_length = prev_point - rl_point;
1474 dummy[i] = rl_line_buffer[rl_point + i];
1477 dummy[0] = rl_line_buffer[rl_point];
1481 rl_delete_text (rl_point, rl_point + char_length);
1483 rl_point = _rl_find_next_mbchar (rl_line_buffer, rl_point, count, MB_FIND_NONZERO);
1521 pos = rl_point;
1547rl_point = (dir == BTO) ? _rl_find_next_mbchar (rl_line_buffer, pos, 1, MB_FIND_ANY)
1550rl_point = (dir == FTO) ? _rl_find_prev_mbchar (rl_line_buffer, pos, MB_FIND_ANY)
1682 return (_rl_set_mark_at_pos (rl_explicit_arg ? count : rl_point));
1699 SWAP (rl_point, rl_mark);