Lines Matching defs:li
215 static char *find_line(int); // find begining of line #li
683 int i, l, li, ch, b, e;
706 li = ch = i = 0;
710 li = count_lines(text, end - 1);
744 li = 1;
751 li = e - b + 1;
821 li = count_lines(text, end - 1);
829 li, ch);
928 li = count_lines(q, q + ch - 1);
933 li, ch);
1066 li = count_lines(q, r);
1086 psb("\"%s\" %dL, %dC", fn, li, l);
1107 li = count_lines(q, r);
1109 li, strlen(reg[YDreg]), what_reg());
1310 static char *find_line(int li) // find begining of line #li
1314 for (q = text; li > 1; li--) {
1435 int li;
1443 for (li = 1; li < ro - 1; li++) {
1444 screen[(li * co) + 0] = '~';
2734 static void format_line(char *dest, char *src, int li)
2741 if (li > 0 && co == 0) {
2785 int li, changed;
2798 for (li = 0; li < rows - 1; li++) {
2803 format_line(buf, tp, li);
2812 sp = &screen[li * columns]; // start of screen line
2854 place_cursor(li, cs, FALSE);
2860 place_cursor(li, cs, li == (last_li+1) ? TRUE : FALSE);
2861 last_li= li;
2863 place_cursor(li, cs, FALSE); // use standard ESC sequence
2878 last_row = li;