Lines Matching refs:start
236 //find start and end slices
295 static struct slice_list *slice_offset(size_t *start, size_t offset)
300 //find start
309 if (s) *start = spos;
319 //find start
340 //find start
369 static int text_count(size_t start, size_t end, char c)
373 if (!(s = slice_offset(&spos, start))) return 0;
374 i = start-spos;
393 //find start
461 //find start
646 size_t start = from, end = TT.cursor;
650 if (TT.vi_mov_flag&0x80000000) start = TT.cursor, end = from;
651 else TT.cursor = start; //yank moves cursor to left pos always?
662 for (str = TT.yank.data ; start<end; start++, str++) *str = text_byte(start);
671 size_t start = from, end = TT.cursor;
676 start = TT.cursor, end = from;
683 cut_str(start, end-start);
685 //cursor is at start at after delete
686 TT.cursor = start;
688 //find line start by strrchr(/n) ++
1014 char *start = TT.yank.data;
1015 char *eol = strchr(start, '\n');
1017 if (start[strlen(start)-1] == '\n') {
1023 i_insert(start, strlen(start));
1316 char *start, *end;
1319 for (end = start = *str; *end && n>0; columns += col, end += bytes, n -= bytes) {
1415 //if clipped area is substring from cursor row start
1437 //start drawing all other rows that needs update