Lines Matching full:spaces
38 * space, or two spaces if it ends with a sentence-end
54 * is modified slightly: <n> spaces are replaced by a tab.
66 * subsequent-leading-whitespace two spaces.
104 * - We don't turn spaces into tabs at starts of lines unless
241 static int tab_width = 8; /* Number of spaces per tab stop */
242 static size_t output_tab_width = 8; /* Ditto, when squashing leading spaces */
252 static size_t pending_spaces; /* Spaces to add before next word */
348 " -l <n> turn each <n> spaces at start of line into a tab\n" in main()
436 size_t last_indent = SILLY; /* how many spaces in last indent? */ in process_stream()
509 /* Find word end and count spaces after it */ in process_stream()
563 /* Begin a new paragraph with an indent of |indent| spaces.
580 /* Output spaces or tabs for leading indentation.
600 output_word(size_t indent0, size_t indent1, const wchar_t *word, size_t length, size_t spaces) in output_word() argument
614 * If either |spaces==0| (at end of line) or |coalesce_spaces_P| in output_word()
617 * two spaces. in output_word()
619 if (coalesce_spaces_P || spaces == 0) in output_word()
620 spaces = wcschr(sentence_enders, word[length - 1]) ? 2 : 1; in output_word()
637 pending_spaces = spaces; in output_word()
673 pending_spaces = spaces; in output_word()