Lines Matching +defs:tab +defs:width

476 			  /* free up the tab linked list... */
503 int width, wrap_err;
513 width = field->cols;
527 width = field->cols;
582 if (row->expanded < width) {
607 } else if (row->expanded > width) {
616 pos = width - 1;
1504 unsigned int tab, cpos, len;
1641 tab = 0; /* just to shut gcc up */
1646 tab = add_tab(form, row, cpos,
1655 tab = add_tab(form, row, cpos, ' ');
1660 tab = add_tab(form, row, cpos, ' ');
1666 * If we have had a tab then skip forward
1671 i += tab - 1;
1701 * Add the correct number of the given character to simulate a tab
1777 _formi_dbg_printf("%s: field too small for a tab\n", __func__);
3316 * Calculate the length of the displayed line allowing for any tab
3317 * characters that need to be expanded. We assume that the tab stops
3362 * Calculate the tab stops on a given line in the field and set up
3363 * the tabs list with the results. We do this by scanning the line for tab
3365 * characters to get to the next tab stop. This information is kept to
3406 * Return the size of the tab padding for a tab character at the given
3407 * position. Return 1 if there is not a tab char entry matching the
3426 * Find the character offset that corresponds to longest tab expanded
3438 /* first find the last tab */
3456 * now walk backwards finding the first tab that is to the
3487 * given width after tabs have been expanded for a given row of a given
3491 tab_fit_len(_FORMI_FIELD_LINES *row, unsigned int width)
3501 if (width == 0)
3504 while ((len < width) && (pos < row->length)) {
3508 if ((len + ts->size) > width)