** replacing ``%s'' with the supplied string.
** For the default value, ``joe'' would be expanded to: ``~f joe | ~s joe''.
*/
+ { "skip_quoted_offset", DT_NUM, R_NONE, UL &SkipQuotedOffset, 0 },
+ /*
+ ** .pp
+ ** Lines of quoted text that are displayed before the unquoted text after
+ ** 'skip to quoted' command (S)
+ */
{ "sleep_time", DT_NUM, R_NONE, UL &SleepTime, 1 },
/*
** .pp
int dretval = 0;
int new_topline = topline;
- while ((new_topline < lastLine ||
+ while ((new_topline + SkipQuotedOffset < lastLine ||
(0 == (dretval = display_line (fp, &last_pos, &lineInfo,
new_topline, &lastLine, &maxLine, M_TYPES | (flags & M_PAGER_NOWRAP),
&QuoteList, &q_level, &force_redraw, &SearchRE))))
- && lineInfo[new_topline].type != MT_COLOR_QUOTED)
+ && lineInfo[new_topline + SkipQuotedOffset].type != MT_COLOR_QUOTED)
new_topline++;
if (dretval < 0)
break;
}
- while ((new_topline < lastLine ||
+ while ((new_topline + SkipQuotedOffset < lastLine ||
(0 == (dretval = display_line (fp, &last_pos, &lineInfo,
new_topline, &lastLine, &maxLine, M_TYPES | (flags & M_PAGER_NOWRAP),
&QuoteList, &q_level, &force_redraw, &SearchRE))))
- && lineInfo[new_topline].type == MT_COLOR_QUOTED)
+ && lineInfo[new_topline + SkipQuotedOffset].type == MT_COLOR_QUOTED)
new_topline++;
if (dretval < 0)