Lines Matching refs:line

72   int last_line;		// Is it the last line of the paragraph?
156 // a line from .tl goes at the head of the queue
298 if (line == 0)
301 fprintf(stderr, "current line is\n");
302 line->debug_node_list();
305 line = line->add_char(ci, this, &width_total, &space_total, &gc_np);
307 line = line->add_discretionary_hyphen();
310 fprintf(stderr, "now after we have added character the line is\n");
311 line->debug_node_list();
318 else if (line && (line->state == 0)) {
319 line->state = construct_state(0);
320 line->push_state = get_diversion_state();
324 fprintf(stderr, "now we have possibly added the state the line is\n");
325 line->debug_node_list();
355 if (line == 0) {
365 n->next = line;
366 line = n;
367 construct_new_line_state(line);
376 if (line == 0)
378 line = line->add_discretionary_hyphen();
412 else if (line)
413 line = line->add_italic_correction(&width_total);
426 if (node_list_ends_sentence(line) == 1)
430 if (node_list_ends_sentence(line) == 1)
432 if (line != 0 && line->merge_space(x, sw, ssw)) {
455 node *p = current_tab ? tab_contents : line;
649 line(0),
741 line(0),
830 line = 0;
871 delete_node_list(line);
878 if (line == 0)
889 input_line_start = line == 0 ? -n : width_total - n;
901 if (line)
957 if (line)
977 for (node *n = current_tab ? tab_contents : line; n; n = n->next) {
1023 hunits n = line == 0 ? H0 : width_total;
1048 ssc_reg_contents = line ? line->subscript_correction().to_units() : 0;
1049 skw_reg_contents = line ? line->skew().to_units() : 0;
1050 line = reverse_node_list(line);
1054 for (node *tem = line; tem; tem = tem->next) {
1068 line = reverse_node_list(line);
1080 node *n = line;
1081 line = 0;
1354 warning(WARN_RANGE, "bad line length %1u", temp.to_units());
1598 warning(WARN_RANGE, "negative line number");
1610 warning(WARN_RANGE, "negative or zero line number multiple");
1703 while (line != 0 && line->discardable()) {
1704 width_total -= line->width();
1705 space_total -= line->nspaces();
1706 node *tem = line;
1707 line = line->next;
1725 to_be_output = line;
1728 line = 0;
1735 to_be_output = line;
1737 line = 0;
1742 to_be_output = line;
1744 line = 0;
1746 input_line_start = line == 0 ? H0 : width_total;
1831 assert(line == 0);
1833 line = new line_start_node;
1885 node *n = line;
1910 // Don't choose the hyphenated breakpoint if the line
1917 // Don't choose the hyphenated breakpoint if the line
1971 output_warning(WARN_BREAK, "can't break line");
1979 assert(line != 0);
1980 hyphenation_type prev_type = line->get_hyphenation_type();
1983 startp = &line;
1985 for (startp = &line->next; *startp != 0; startp = &(*startp)->next) {
2022 // this may not be right if we have extra space on this line
2077 while (line != 0
2080 // current line should not be empty.
2081 || (width_total - line->width()) > target_text_length)) {
2088 node **ndp = &line;
2100 output_warning(WARN_BREAK, "cannot adjust line");
2122 for (tem = line; tem != 0; tem = tem->next)
2129 for (tem = line; tem != 0; tem = tem->next) {
2137 to_be_discarded = line;
2138 line = 0;
2140 // Do output_line() here so that line will be 0 iff the
2149 if (line != 0) {
2164 Unix troff behaves as follows: if the last line is
2169 if the last line is
2189 If the last input line used \c and this line occurred in the end macro,
2334 if (line) {
2336 line = new space_node(H0, get_fill_color(), line);
2340 while (line != 0 && line->discardable()) {
2341 width_total -= line->width();
2342 space_total -= line->nspaces();
2343 node *tem = line;
2344 line = line->next;
2349 if (line != 0) {
2361 node *tem = line;
2362 line = 0;
2379 return !current_tab && line == 0 && pending_lines == 0;
2847 if (line == 0)
2853 line = make_tab_node(tab_amount, line);
2857 line = make_tab_node(tab_amount, line);
2878 tem->next = line;
2879 line = tab_contents;
2945 for (node *p = line; p; p = p->next)
2971 distribute_space(line, field_spaces, padding, 1);
2984 line = make_tab_node(tab_distance, line);
2992 tem->next = line;
2993 line = tab_contents;
3012 if (line == 0)
3014 line = new space_node(H0, get_fill_color(), line);
3710 if (!(c == '{' || c == '}')) { // skip braces at line start