nroff 492 src/filemanager/cmd.c mcview_altered_flags.nroff = FALSE; nroff 497 src/filemanager/cmd.c if (mcview_global_flags.nroff) nroff 498 src/filemanager/cmd.c changed_flags.nroff = TRUE; nroff 501 src/filemanager/cmd.c mcview_global_flags.nroff = FALSE; nroff 509 src/filemanager/cmd.c if (changed_flags.nroff && !mcview_altered_flags.nroff) nroff 510 src/filemanager/cmd.c mcview_global_flags.nroff = TRUE; nroff 379 src/filemanager/ext.c .nroff = mcview_global_flags.nroff nroff 387 src/filemanager/ext.c mcview_altered_flags.nroff = FALSE; nroff 390 src/filemanager/ext.c if (def_flags.nroff != mcview_global_flags.nroff) nroff 391 src/filemanager/ext.c changed_flags.nroff = TRUE; nroff 400 src/filemanager/ext.c if (changed_flags.nroff && !mcview_altered_flags.nroff) nroff 401 src/filemanager/ext.c mcview_global_flags.nroff = def_flags.nroff; nroff 698 src/usermenu.c mcview_global_flags.nroff = TRUE; nroff 703 src/usermenu.c mcview_global_flags.nroff = FALSE; nroff 401 src/viewer/ascii.c if (!view->mode_flags.nroff) nroff 275 src/viewer/coord_cache.c else if (view->mode_flags.nroff) nroff 303 src/viewer/coord_cache.c (lookup_what != CCACHE_OFFSET || !view->mode_flags.nroff || nroff_state == NROFF_START)) nroff 122 src/viewer/display.c buttonbar_set_label (b, 9, view->mode_flags.nroff ? Q_ ("ButtonBar|Unform") nroff 322 src/viewer/internal.h void mcview_nroff_seq_free (mcview_nroff_t ** nroff); nroff 323 src/viewer/internal.h nroff_type_t mcview_nroff_seq_info (mcview_nroff_t * nroff); nroff 324 src/viewer/internal.h int mcview_nroff_seq_next (mcview_nroff_t * nroff); nroff 325 src/viewer/internal.h int mcview_nroff_seq_prev (mcview_nroff_t * nroff); nroff 116 src/viewer/lib.c view->mode_flags.nroff = !view->mode_flags.nroff; nroff 117 src/viewer/lib.c mcview_altered_flags.nroff = TRUE; nroff 57 src/viewer/mcviewer.c .nroff = FALSE nroff 64 src/viewer/mcviewer.c .nroff = FALSE nroff 223 src/viewer/mcviewer.c if (mcview_global_flags.nroff) nroff 25 src/viewer/mcviewer.h gboolean nroff; /* Nroff-style highlighting */ nroff 373 src/viewer/move.c *ret_column = view->mode_flags.nroff ? coord.cc_nroff_column : coord.cc_column; nroff 62 src/viewer/nroff.c mcview_nroff_get_char (mcview_nroff_t *nroff, int *ret_val, off_t nroff_index) nroff 67 src/viewer/nroff.c if (nroff->view->utf8) nroff 69 src/viewer/nroff.c if (!mcview_get_utf (nroff->view, nroff_index, &c, &nroff->char_length)) nroff 72 src/viewer/nroff.c nroff->char_length = 1; nroff 73 src/viewer/nroff.c if (!mcview_get_byte (nroff->view, nroff_index, &c) || !g_ascii_isprint (c)) nroff 80 src/viewer/nroff.c nroff->char_length = 1; nroff 81 src/viewer/nroff.c if (!mcview_get_byte (nroff->view, nroff_index, &c)) nroff 97 src/viewer/nroff.c mcview_nroff_t *nroff; nroff 101 src/viewer/nroff.c if (!view->mode_flags.nroff) nroff 104 src/viewer/nroff.c nroff = mcview_nroff_seq_new_num (view, start); nroff 105 src/viewer/nroff.c if (nroff == NULL) nroff 109 src/viewer/nroff.c switch (nroff->type) nroff 112 src/viewer/nroff.c ret += 1 + nroff->char_length; /* real char length and 0x8 */ nroff 120 src/viewer/nroff.c i += nroff->char_length; nroff 121 src/viewer/nroff.c mcview_nroff_seq_next (nroff); nroff 124 src/viewer/nroff.c mcview_nroff_seq_free (&nroff); nroff 133 src/viewer/nroff.c mcview_nroff_t *nroff; nroff 135 src/viewer/nroff.c nroff = g_try_malloc0 (sizeof (mcview_nroff_t)); nroff 136 src/viewer/nroff.c if (nroff != NULL) nroff 138 src/viewer/nroff.c nroff->index = lc_index; nroff 139 src/viewer/nroff.c nroff->view = view; nroff 140 src/viewer/nroff.c mcview_nroff_seq_info (nroff); nroff 142 src/viewer/nroff.c return nroff; nroff 157 src/viewer/nroff.c mcview_nroff_seq_free (mcview_nroff_t **nroff) nroff 159 src/viewer/nroff.c if (nroff == NULL || *nroff == NULL) nroff 161 src/viewer/nroff.c MC_PTR_FREE (*nroff); nroff 167 src/viewer/nroff.c mcview_nroff_seq_info (mcview_nroff_t *nroff) nroff 171 src/viewer/nroff.c if (nroff == NULL) nroff 173 src/viewer/nroff.c nroff->type = NROFF_TYPE_NONE; nroff 175 src/viewer/nroff.c if (!mcview_nroff_get_char (nroff, &nroff->current_char, nroff->index)) nroff 176 src/viewer/nroff.c return nroff->type; nroff 178 src/viewer/nroff.c if (!mcview_get_byte (nroff->view, nroff->index + nroff->char_length, &next) || next != '\b') nroff 179 src/viewer/nroff.c return nroff->type; nroff 181 src/viewer/nroff.c if (!mcview_nroff_get_char (nroff, &next2, nroff->index + 1 + nroff->char_length)) nroff 182 src/viewer/nroff.c return nroff->type; nroff 184 src/viewer/nroff.c if (nroff->current_char == '_' && next2 == '_') nroff 186 src/viewer/nroff.c nroff->type = (nroff->prev_type == NROFF_TYPE_BOLD) nroff 190 src/viewer/nroff.c else if (nroff->current_char == next2) nroff 192 src/viewer/nroff.c nroff->type = NROFF_TYPE_BOLD; nroff 194 src/viewer/nroff.c else if (nroff->current_char == '_') nroff 196 src/viewer/nroff.c nroff->current_char = next2; nroff 197 src/viewer/nroff.c nroff->type = NROFF_TYPE_UNDERLINE; nroff 199 src/viewer/nroff.c else if (nroff->current_char == '+' && next2 == 'o') nroff 203 src/viewer/nroff.c return nroff->type; nroff 209 src/viewer/nroff.c mcview_nroff_seq_next (mcview_nroff_t *nroff) nroff 211 src/viewer/nroff.c if (nroff == NULL) nroff 214 src/viewer/nroff.c nroff->prev_type = nroff->type; nroff 216 src/viewer/nroff.c switch (nroff->type) nroff 219 src/viewer/nroff.c nroff->index += 1 + nroff->char_length; nroff 222 src/viewer/nroff.c nroff->index += 2; nroff 228 src/viewer/nroff.c nroff->index += nroff->char_length; nroff 230 src/viewer/nroff.c mcview_nroff_seq_info (nroff); nroff 231 src/viewer/nroff.c return nroff->current_char; nroff 237 src/viewer/nroff.c mcview_nroff_seq_prev (mcview_nroff_t *nroff) nroff 242 src/viewer/nroff.c if (nroff == NULL) nroff 245 src/viewer/nroff.c nroff->prev_type = NROFF_TYPE_NONE; nroff 247 src/viewer/nroff.c if (nroff->index == 0) nroff 250 src/viewer/nroff.c prev_index = nroff->index - 1; nroff 254 src/viewer/nroff.c if (mcview_nroff_get_char (nroff, &nroff->current_char, prev_index)) nroff 260 src/viewer/nroff.c nroff->index--; nroff 261 src/viewer/nroff.c mcview_nroff_seq_info (nroff); nroff 262 src/viewer/nroff.c return nroff->current_char; nroff 267 src/viewer/nroff.c if (!mcview_get_byte (nroff->view, prev_index, &prev) || prev != '\b') nroff 269 src/viewer/nroff.c nroff->index = prev_index; nroff 270 src/viewer/nroff.c mcview_nroff_seq_info (nroff); nroff 271 src/viewer/nroff.c return nroff->current_char; nroff 277 src/viewer/nroff.c if (mcview_nroff_get_char (nroff, &prev, prev_index)) nroff 282 src/viewer/nroff.c nroff->index = (prev_index2 == 0) ? prev_index : prev_index2; nroff 283 src/viewer/nroff.c mcview_nroff_seq_info (nroff); nroff 284 src/viewer/nroff.c return nroff->current_char; nroff 185 src/viewer/search.c if (view->mode_flags.nroff) nroff 222 src/viewer/search.c view->mode_flags.nroff nroff 231 src/viewer/search.c view->mode_flags.nroff ? mcview__get_nroff_real_len (view, view->search_start - 1, nroff 256 src/viewer/search.c if (!view->mode_flags.nroff) nroff 262 src/viewer/search.c mcview_nroff_t *nroff; nroff 264 src/viewer/search.c nroff = mcview_nroff_seq_new_num (view, view->search_start); nroff 265 src/viewer/search.c if (mcview_nroff_seq_prev (nroff) != -1) nroff 267 src/viewer/search.c -(mcview__get_nroff_real_len (view, nroff->index - 1, 2) + nroff 268 src/viewer/search.c nroff->char_length + 1); nroff 272 src/viewer/search.c mcview_nroff_seq_free (&nroff); nroff 432 src/viewer/search.c if (!view->mode_flags.nroff)