| 4453 | } |
| 4454 | |
| 4455 | staticfn void |
| 4456 | status_hilites_viewall(void) |
| 4457 | { |
| 4458 | winid datawin; |
| 4459 | struct _status_hilite_line_str *hlstr = status_hilite_str; |
| 4460 | char buf[BUFSZ]; |
| 4461 | |
| 4462 | datawin = create_nhwindow(NHW_TEXT); |
| 4463 | |
| 4464 | while (hlstr) { |
| 4465 | Sprintf(buf, "OPTIONS=hilite_status: %.*s", |
| 4466 | (int) (BUFSZ - sizeof "OPTIONS=hilite_status: " - 1), |
| 4467 | hlstr->str); |
| 4468 | putstr(datawin, 0, buf); |
| 4469 | hlstr = hlstr->next; |
| 4470 | } |
| 4471 | |
| 4472 | display_nhwindow(datawin, FALSE); |
| 4473 | destroy_nhwindow(datawin); |
| 4474 | } |
| 4475 | |
| 4476 | void |
| 4477 | all_options_statushilites(strbuf_t *sbuf) |
no outgoing calls
no test coverage detected