• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/emacs-93/emacs/src/

Lines Matching +defs:end +defs:col

226   int end, inv_p;
258 end = XFASTINT (tmp);
262 if (end == pos + 100
264 && end < ZV)
265 while (pos < end && !CHAR_HEAD_P (POS_ADDR (end)))
266 end--;
268 *next_boundary_p = end;
294 int start, end;
297 if (! find_composition (pos, -1, &start, &end, &prop, Qnil)
298 || pos != start || point < end
299 || !COMPOSITION_VALID_P (start, end, prop))
301 if ((id = get_composition_id (pos, pos_byte, end - pos, prop, Qnil)) < 0)
305 *len_byte = CHAR_TO_BYTE (end) - pos_byte;
347 however, ^M is treated as end of line when `selective-display' is t.
368 register int col;
406 col = 0, tab_seen = 0, post_tab = 0;
458 col++;
469 col = ((col + tab_width) / tab_width) * tab_width;
471 post_tab += col;
472 col = 0;
481 ++col;
483 col += (ctl_arrow && c < 0200) ? 2 : 4;
491 col = ((col + tab_width) / tab_width) * tab_width;
492 col += post_tab;
500 last_known_column = col;
504 return col;
522 register int col = 0;
563 col += width;
602 col += tab_width;
603 col = col / tab_width * tab_width;
606 ++col;
620 col += tab_width;
621 col = col / tab_width * tab_width;
634 col += width;
637 col += 2;
639 col += 4;
641 col++;
649 last_known_column = col;
653 return col;
662 If END is nil, that stands for the end of STRING. */
665 string_display_width (string, beg, end)
666 Lisp_Object string, beg, end;
668 register int col;
678 if (NILP (end))
682 CHECK_NUMBER (end);
683 e = XINT (end);
702 col = 0, tab_seen = 0, post_tab = 0;
711 col += XVECTOR (DISP_CHAR_VECTOR (dp, c))->size;
713 col++;
719 col = ((col + tab_width) / tab_width) * tab_width;
721 post_tab += col;
722 col = 0;
726 col += (ctl_arrow && c < 0200) ? 2 : 4;
731 col = ((col + tab_width) / tab_width) * tab_width;
732 col += post_tab;
735 return col;
830 or about the end of the buffer. */
931 If it's past end of line, point goes to end of line.
943 register int col = current_column ();
945 register int end;
962 end = ZV;
966 if (col > goal)
968 end = pos;
971 col = 0;
976 while (pos < end)
981 pos = skip_invisible (pos, &next_boundary, end, Qnil);
984 if (pos >= end)
991 if (col >= goal)
1002 col += width;
1045 prev_col = col;
1046 col += tab_width;
1047 col = col / tab_width * tab_width;
1050 ++col;
1064 prev_col = col;
1065 col += tab_width;
1066 col = col / tab_width * tab_width;
1069 col += 2;
1071 col += 4;
1073 col++;
1083 col += width;
1086 col += 4;
1098 if (!NILP (force) && col > goal && c == '\t' && prev_col < goal)
1103 first so that a marker at the end of the tab gets
1112 Findent_to (make_number (col), Qnil);
1116 col = goal;
1119 /* If line ends prematurely, add space to the end. */
1120 if (col < goal && EQ (force, Qt))
1121 Findent_to (make_number (col = goal), Qnil);
1123 last_known_column = col;
1127 XSETFASTINT (val, col);
1161 member gives the buffer position at the end of the scan, and hpos
1174 Pass the buffer's ZV as TO, to limit the scan to the end of the
1702 everything from a ^M to the end of the line is invisible.
1812 Pass the buffer's (point-max) as TO, to limit the scan to the end of the
2046 if beginning or end of buffer was reached.
2100 we end up with the iterator placed at where it thinks X is 0,
2101 while the end position is really at some X > 0, the same X that