Lines Matching refs:el_line
58 if (el->el_line.cursor == el->el_line.lastchar) {
60 if (el->el_line.cursor == el->el_line.buffer) {
77 if (el->el_line.cursor > el->el_line.lastchar)
78 el->el_line.cursor = el->el_line.lastchar;
95 if (el->el_line.cursor == el->el_line.lastchar)
98 cp = c__next_word(el->el_line.cursor, el->el_line.lastchar,
101 for (p = el->el_line.cursor, kp = el->el_chared.c_kill.buf; p < cp; p++)
106 c_delafter(el, (int)(cp - el->el_line.cursor)); /* delete after dot */
107 if (el->el_line.cursor > el->el_line.lastchar)
108 el->el_line.cursor = el->el_line.lastchar;
127 if (el->el_line.lastchar +
129 el->el_line.limit)
132 el->el_chared.c_kill.mark = el->el_line.cursor;
133 cp = el->el_line.cursor;
144 el->el_line.cursor = cp;
160 cp = el->el_line.buffer;
162 while (cp < el->el_line.lastchar)
166 el->el_line.lastchar = el->el_line.buffer;
167 el->el_line.cursor = el->el_line.buffer;
185 if (el->el_chared.c_kill.mark > el->el_line.cursor) {
186 cp = el->el_line.cursor;
191 c_delafter(el, (int)(cp - el->el_line.cursor));
195 while (cp < el->el_line.cursor)
199 el->el_line.cursor = el->el_chared.c_kill.mark;
218 if (el->el_chared.c_kill.mark > el->el_line.cursor) {
219 cp = el->el_line.cursor;
227 while (cp < el->el_line.cursor)
243 if (el->el_line.cursor > &el->el_line.buffer[1]) {
245 c = el->el_line.cursor[-2];
246 el->el_line.cursor[-2] = el->el_line.cursor[-1];
247 el->el_line.cursor[-1] = c;
262 if (el->el_line.cursor == el->el_line.lastchar)
265 el->el_line.cursor = c__next_word(el->el_line.cursor,
266 el->el_line.lastchar,
289 ep = c__next_word(el->el_line.cursor, el->el_line.lastchar,
292 for (cp = el->el_line.cursor; cp < ep; cp++)
296 el->el_line.cursor = ep;
297 if (el->el_line.cursor > el->el_line.lastchar)
298 el->el_line.cursor = el->el_line.lastchar;
313 ep = c__next_word(el->el_line.cursor, el->el_line.lastchar,
316 for (cp = el->el_line.cursor; cp < ep; cp++) {
328 el->el_line.cursor = ep;
329 if (el->el_line.cursor > el->el_line.lastchar)
330 el->el_line.cursor = el->el_line.lastchar;
345 ep = c__next_word(el->el_line.cursor, el->el_line.lastchar,
348 for (cp = el->el_line.cursor; cp < ep; cp++)
352 el->el_line.cursor = ep;
353 if (el->el_line.cursor > el->el_line.lastchar)
354 el->el_line.cursor = el->el_line.lastchar;
368 el->el_chared.c_kill.mark = el->el_line.cursor;
383 cp = el->el_line.cursor;
384 el->el_line.cursor = el->el_chared.c_kill.mark;
444 if (el->el_line.cursor == el->el_line.buffer)
447 oldc = el->el_line.cursor;
449 cp = c__prev_word(el->el_line.cursor, el->el_line.buffer,
453 for (dp = oldc; cp < oldc && dp < el->el_line.lastchar; cp++)
456 el->el_line.cursor = dp;/* put cursor at end */
497 if (el->el_line.cursor <= el->el_line.buffer)
504 el->el_line.cursor -= el->el_state.argument;
505 if (el->el_line.cursor < el->el_line.buffer)
506 el->el_line.cursor = el->el_line.buffer;