Lines Matching +defs:extra +defs:indent

76     int		startspaces;	/* 'extra' cols before first char */
77 int endspaces; /* 'extra' cols after last char */
335 count = get_indent(); /* get current indent */
337 if (round) /* round off indent */
340 j = count % p_sw; /* extra spaces */
341 if (j && left) /* first remove extra spaces */
353 else /* original vi indent */
365 /* Set new indent */
568 int count = 0; /* extra spaces to replace a cut TAB */
692 smsg((char_u *)_("%ld lines to indent... "), i);
707 count = how(); /* get the indent for this line */
711 /* did change the indent, call changed_lines() later */
1823 if (curbuf->b_p_ai) /* don't delete indent */
1826 did_ai = TRUE; /* delete the indent when ESC hit */
2038 /* n == number of extra chars required
2190 * as a result an extra +1 must be counted so we don't
2475 /* When 'virtualedit' is used, need to insert the extra spaces before
2550 * Spaces and tabs in the indent may have changed to other spaces and
2677 /* Auto-indenting may have changed the indent. If the cursor was past
2678 * the indent, exclude that indent change from the inserted text. */
3213 * "flags": PUT_FIXINDENT make indent look nice
3245 int indent;
3773 indent = 0; /* Leave # lines at start */
3777 indent = 0; /* Ignore empty lines */
3781 indent = orig_indent;
3784 else if ((indent = get_indent() + indent_diff) < 0)
3785 indent = 0;
3786 (void)set_indent(indent, 0);
3816 /* correct length for change in indent */
4214 /* extra space when 'joinspaces' set and line ends in '.' */
4563 int need_set_indent = TRUE; /* set indent of next paragraph */
4653 * For the first line of a paragraph, check indent of second line.
4692 /* replace indent in first line with minimal number of
4714 /* at end of par.: need to set indent of next par. */
6117 int extra;
6119 int extraline = 0; /* extra line at the end */
6140 ++newlines; /* count extra newline at the end */
6180 extra = (int)STRLEN(y_ptr->y_array[lnum]);
6183 extra = 0;
6184 s = alloc((unsigned)(i + extra + 1));
6187 if (extra)
6188 mch_memmove(s, y_ptr->y_array[lnum], (size_t)extra);
6192 mch_memmove(s + extra, str + start, (size_t)i);
6193 extra += i;
6194 s[extra] = NUL;
6196 while (--extra >= 0)
6384 /* Do extra processing for VIsual mode. */