dview             150 src/diffviewer/internal.h void dview_search_cmd (WDiff * dview);
dview             151 src/diffviewer/internal.h void dview_continue_search_cmd (WDiff * dview);
dview              75 src/diffviewer/search.c mcdiffview_dialog_search (WDiff *dview)
dview             138 src/diffviewer/search.c     g_free (dview->search.last_string);
dview             139 src/diffviewer/search.c     dview->search.last_string = exp;
dview             147 src/diffviewer/search.c mcdiffview_do_search_backward (WDiff *dview)
dview             151 src/diffviewer/search.c     if (dview->search.last_accessed_num_line < 0)
dview             153 src/diffviewer/search.c         dview->search.last_accessed_num_line = -1;
dview             157 src/diffviewer/search.c     if ((size_t) dview->search.last_accessed_num_line >= dview->a[dview->ord]->len)
dview             158 src/diffviewer/search.c         dview->search.last_accessed_num_line = (ssize_t) dview->a[dview->ord]->len;
dview             160 src/diffviewer/search.c     for (ind = --dview->search.last_accessed_num_line; ind >= 0; ind--)
dview             164 src/diffviewer/search.c         p = (DIFFLN *) & g_array_index (dview->a[dview->ord], DIFFLN, (size_t) ind);
dview             168 src/diffviewer/search.c         if (mc_search_run (dview->search.handle, p->p, 0, p->u.len, NULL))
dview             170 src/diffviewer/search.c             dview->skip_rows = dview->search.last_found_line =
dview             171 src/diffviewer/search.c                 dview->search.last_accessed_num_line = ind;
dview             182 src/diffviewer/search.c mcdiffview_do_search_forward (WDiff *dview)
dview             186 src/diffviewer/search.c     if (dview->search.last_accessed_num_line < 0)
dview             187 src/diffviewer/search.c         dview->search.last_accessed_num_line = -1;
dview             188 src/diffviewer/search.c     else if ((size_t) dview->search.last_accessed_num_line >= dview->a[dview->ord]->len)
dview             190 src/diffviewer/search.c         dview->search.last_accessed_num_line = (ssize_t) dview->a[dview->ord]->len;
dview             194 src/diffviewer/search.c     for (ind = (size_t) ++dview->search.last_accessed_num_line; ind < dview->a[dview->ord]->len;
dview             199 src/diffviewer/search.c         p = (DIFFLN *) & g_array_index (dview->a[dview->ord], DIFFLN, ind);
dview             203 src/diffviewer/search.c         if (mc_search_run (dview->search.handle, p->p, 0, p->u.len, NULL))
dview             205 src/diffviewer/search.c             dview->skip_rows = dview->search.last_found_line =
dview             206 src/diffviewer/search.c                 dview->search.last_accessed_num_line = (ssize_t) ind;
dview             216 src/diffviewer/search.c mcdiffview_do_search (WDiff *dview)
dview             224 src/diffviewer/search.c         present_result = mcdiffview_do_search_backward (dview);
dview             228 src/diffviewer/search.c         present_result = mcdiffview_do_search_forward (dview);
dview             235 src/diffviewer/search.c         dview->search.last_found_line = -1;
dview             245 src/diffviewer/search.c dview_search_cmd (WDiff *dview)
dview             247 src/diffviewer/search.c     if (dview->dsrc != DATA_SRC_MEM)
dview             253 src/diffviewer/search.c     if (!mcdiffview_dialog_search (dview))
dview             256 src/diffviewer/search.c     mc_search_free (dview->search.handle);
dview             258 src/diffviewer/search.c     dview->search.handle = mc_search_new (dview->search.last_string, cp_source);
dview             260 src/diffviewer/search.c     dview->search.handle = mc_search_new (dview->search.last_string, NULL);
dview             263 src/diffviewer/search.c     if (dview->search.handle == NULL)
dview             266 src/diffviewer/search.c     dview->search.handle->search_type = mcdiffview_search_options.type;
dview             268 src/diffviewer/search.c     dview->search.handle->is_all_charsets = mcdiffview_search_options.all_codepages;
dview             270 src/diffviewer/search.c     dview->search.handle->is_case_sensitive = mcdiffview_search_options.case_sens;
dview             271 src/diffviewer/search.c     dview->search.handle->whole_words = mcdiffview_search_options.whole_words;
dview             273 src/diffviewer/search.c     mcdiffview_do_search (dview);
dview             279 src/diffviewer/search.c dview_continue_search_cmd (WDiff *dview)
dview             281 src/diffviewer/search.c     if (dview->dsrc != DATA_SRC_MEM)
dview             283 src/diffviewer/search.c     else if (dview->search.handle == NULL)
dview             284 src/diffviewer/search.c         dview_search_cmd (dview);
dview             286 src/diffviewer/search.c         mcdiffview_do_search (dview);
dview            1684 src/diffviewer/ydiff.c redo_diff (WDiff *dview)
dview            1686 src/diffviewer/ydiff.c     FBUF *const *f = dview->f;
dview            1694 src/diffviewer/ydiff.c     if (dview->opt.quality == 2)
dview            1696 src/diffviewer/ydiff.c     if (dview->opt.quality == 1)
dview            1698 src/diffviewer/ydiff.c     if (dview->opt.strip_trailing_cr)
dview            1700 src/diffviewer/ydiff.c     if (dview->opt.ignore_tab_expansion)
dview            1702 src/diffviewer/ydiff.c     if (dview->opt.ignore_space_change)
dview            1704 src/diffviewer/ydiff.c     if (dview->opt.ignore_all_space)
dview            1706 src/diffviewer/ydiff.c     if (dview->opt.ignore_case)
dview            1709 src/diffviewer/ydiff.c     if (dview->dsrc != DATA_SRC_MEM)
dview            1716 src/diffviewer/ydiff.c     ndiff = dff_execute (dview->args, extra, dview->file[DIFF_LEFT], dview->file[DIFF_RIGHT], ops);
dview            1724 src/diffviewer/ydiff.c     ctx.dsrc = dview->dsrc;
dview            1725 src/diffviewer/ydiff.c     ctx.a = dview->a[DIFF_LEFT];
dview            1727 src/diffviewer/ydiff.c     rv |= dff_reparse (DIFF_LEFT, dview->file[DIFF_LEFT], ops, printer, &ctx);
dview            1729 src/diffviewer/ydiff.c     ctx.a = dview->a[DIFF_RIGHT];
dview            1731 src/diffviewer/ydiff.c     rv |= dff_reparse (DIFF_RIGHT, dview->file[DIFF_RIGHT], ops, printer, &ctx);
dview            1736 src/diffviewer/ydiff.c     if (rv != 0 || dview->a[DIFF_LEFT]->len != dview->a[DIFF_RIGHT]->len)
dview            1739 src/diffviewer/ydiff.c     if (dview->dsrc == DATA_SRC_TMP)
dview            1745 src/diffviewer/ydiff.c     if (dview->dsrc == DATA_SRC_MEM && HDIFF_ENABLE)
dview            1749 src/diffviewer/ydiff.c         dview->hdiff = g_ptr_array_new ();
dview            1751 src/diffviewer/ydiff.c         for (i = 0; i < dview->a[DIFF_LEFT]->len; i++)
dview            1757 src/diffviewer/ydiff.c             p = &g_array_index (dview->a[DIFF_LEFT], DIFFLN, i);
dview            1758 src/diffviewer/ydiff.c             q = &g_array_index (dview->a[DIFF_RIGHT], DIFFLN, i);
dview            1774 src/diffviewer/ydiff.c             g_ptr_array_add (dview->hdiff, h);
dview            1783 src/diffviewer/ydiff.c destroy_hdiff (WDiff *dview)
dview            1785 src/diffviewer/ydiff.c     if (dview->hdiff != NULL)
dview            1790 src/diffviewer/ydiff.c         len = dview->a[DIFF_LEFT]->len;
dview            1796 src/diffviewer/ydiff.c             h = (GArray *) g_ptr_array_index (dview->hdiff, i);
dview            1800 src/diffviewer/ydiff.c         g_ptr_array_free (dview->hdiff, TRUE);
dview            1801 src/diffviewer/ydiff.c         dview->hdiff = NULL;
dview            1804 src/diffviewer/ydiff.c     mc_search_free (dview->search.handle);
dview            1805 src/diffviewer/ydiff.c     dview->search.handle = NULL;
dview            1806 src/diffviewer/ydiff.c     MC_PTR_FREE (dview->search.last_string);
dview            1921 src/diffviewer/ydiff.c get_current_hunk (WDiff *dview, int *start_line1, int *end_line1, int *start_line2, int *end_line2)
dview            1923 src/diffviewer/ydiff.c     const GArray *a0 = dview->a[DIFF_LEFT];
dview            1924 src/diffviewer/ydiff.c     const GArray *a1 = dview->a[DIFF_RIGHT];
dview            1934 src/diffviewer/ydiff.c     pos = dview->skip_rows;
dview            1961 src/diffviewer/ydiff.c         for (pos = dview->skip_rows;
dview            1989 src/diffviewer/ydiff.c dview_remove_hunk (WDiff *dview, FILE *merge_file, int from1, int to1,
dview            1997 src/diffviewer/ydiff.c         f0 = fopen (dview->file[DIFF_RIGHT], "r");
dview            1999 src/diffviewer/ydiff.c         f0 = fopen (dview->file[DIFF_LEFT], "r");
dview            2026 src/diffviewer/ydiff.c dview_add_hunk (WDiff *dview, FILE *merge_file, int from1, int from2, int to2,
dview            2035 src/diffviewer/ydiff.c         f0 = fopen (dview->file[DIFF_RIGHT], "r");
dview            2036 src/diffviewer/ydiff.c         f1 = fopen (dview->file[DIFF_LEFT], "r");
dview            2040 src/diffviewer/ydiff.c         f0 = fopen (dview->file[DIFF_LEFT], "r");
dview            2041 src/diffviewer/ydiff.c         f1 = fopen (dview->file[DIFF_RIGHT], "r");
dview            2073 src/diffviewer/ydiff.c dview_replace_hunk (WDiff *dview, FILE *merge_file, int from1, int to1, int from2, int to2,
dview            2082 src/diffviewer/ydiff.c         f0 = fopen (dview->file[DIFF_RIGHT], "r");
dview            2083 src/diffviewer/ydiff.c         f1 = fopen (dview->file[DIFF_LEFT], "r");
dview            2087 src/diffviewer/ydiff.c         f0 = fopen (dview->file[DIFF_LEFT], "r");
dview            2088 src/diffviewer/ydiff.c         f1 = fopen (dview->file[DIFF_RIGHT], "r");
dview            2118 src/diffviewer/ydiff.c do_merge_hunk (WDiff *dview, action_direction_t merge_direction)
dview            2125 src/diffviewer/ydiff.c         hunk = get_current_hunk (dview, &from2, &to2, &from1, &to1);
dview            2127 src/diffviewer/ydiff.c         hunk = get_current_hunk (dview, &from1, &to1, &from2, &to2);
dview            2135 src/diffviewer/ydiff.c         if (!dview->merged[n_merge])
dview            2137 src/diffviewer/ydiff.c             dview->merged[n_merge] = mc_util_make_backup_if_possible (dview->file[n_merge], "~~~");
dview            2138 src/diffviewer/ydiff.c             if (!dview->merged[n_merge])
dview            2142 src/diffviewer/ydiff.c                          dview->file[n_merge], "~~~", unix_error_string (errno));
dview            2161 src/diffviewer/ydiff.c                 dview_add_hunk (dview, merge_file, from1, from2, to2, FROM_RIGHT_TO_LEFT);
dview            2163 src/diffviewer/ydiff.c                 dview_remove_hunk (dview, merge_file, from1, to1, FROM_LEFT_TO_RIGHT);
dview            2167 src/diffviewer/ydiff.c                 dview_remove_hunk (dview, merge_file, from1, to1, FROM_RIGHT_TO_LEFT);
dview            2169 src/diffviewer/ydiff.c                 dview_add_hunk (dview, merge_file, from1, from2, to2, FROM_LEFT_TO_RIGHT);
dview            2172 src/diffviewer/ydiff.c             dview_replace_hunk (dview, merge_file, from1, to1, from2, to2, merge_direction);
dview            2182 src/diffviewer/ydiff.c             res = rewrite_backup_content (merge_file_name_vpath, dview->file[n_merge]);
dview            2194 src/diffviewer/ydiff.c dview_compute_split (WDiff *dview, int i)
dview            2196 src/diffviewer/ydiff.c     dview->bias += i;
dview            2197 src/diffviewer/ydiff.c     if (dview->bias < 2 - dview->half1)
dview            2198 src/diffviewer/ydiff.c         dview->bias = 2 - dview->half1;
dview            2199 src/diffviewer/ydiff.c     if (dview->bias > dview->half2 - 2)
dview            2200 src/diffviewer/ydiff.c         dview->bias = dview->half2 - 2;
dview            2206 src/diffviewer/ydiff.c dview_compute_areas (WDiff *dview)
dview            2208 src/diffviewer/ydiff.c     Widget *w = WIDGET (dview);
dview            2210 src/diffviewer/ydiff.c     dview->height = w->rect.lines - 1;
dview            2211 src/diffviewer/ydiff.c     dview->half1 = w->rect.cols / 2;
dview            2212 src/diffviewer/ydiff.c     dview->half2 = w->rect.cols - dview->half1;
dview            2214 src/diffviewer/ydiff.c     dview_compute_split (dview, 0);
dview            2220 src/diffviewer/ydiff.c dview_reread (WDiff *dview)
dview            2224 src/diffviewer/ydiff.c     destroy_hdiff (dview);
dview            2225 src/diffviewer/ydiff.c     if (dview->a[DIFF_LEFT] != NULL)
dview            2226 src/diffviewer/ydiff.c         g_array_free (dview->a[DIFF_LEFT], TRUE);
dview            2227 src/diffviewer/ydiff.c     if (dview->a[DIFF_RIGHT] != NULL)
dview            2228 src/diffviewer/ydiff.c         g_array_free (dview->a[DIFF_RIGHT], TRUE);
dview            2230 src/diffviewer/ydiff.c     dview->a[DIFF_LEFT] = g_array_new (FALSE, FALSE, sizeof (DIFFLN));
dview            2231 src/diffviewer/ydiff.c     g_array_set_clear_func (dview->a[DIFF_LEFT], cc_free_elt);
dview            2232 src/diffviewer/ydiff.c     dview->a[DIFF_RIGHT] = g_array_new (FALSE, FALSE, sizeof (DIFFLN));
dview            2233 src/diffviewer/ydiff.c     g_array_set_clear_func (dview->a[DIFF_RIGHT], cc_free_elt);
dview            2235 src/diffviewer/ydiff.c     ndiff = redo_diff (dview);
dview            2237 src/diffviewer/ydiff.c         dview->ndiff = ndiff;
dview            2244 src/diffviewer/ydiff.c dview_set_codeset (WDiff *dview)
dview            2248 src/diffviewer/ydiff.c     dview->utf8 = TRUE;
dview            2259 src/diffviewer/ydiff.c             if (dview->converter != str_cnv_from_term)
dview            2260 src/diffviewer/ydiff.c                 str_close_conv (dview->converter);
dview            2261 src/diffviewer/ydiff.c             dview->converter = conv;
dview            2263 src/diffviewer/ydiff.c         dview->utf8 = (gboolean) str_isutf8 (encoding_id);
dview            2270 src/diffviewer/ydiff.c dview_select_encoding (WDiff *dview)
dview            2273 src/diffviewer/ydiff.c         dview_set_codeset (dview);
dview            2274 src/diffviewer/ydiff.c     dview_reread (dview);
dview            2283 src/diffviewer/ydiff.c dview_load_options (WDiff *dview)
dview            2288 src/diffviewer/ydiff.c     dview->display_symbols =
dview            2292 src/diffviewer/ydiff.c         dview->display_numbers = 1;
dview            2295 src/diffviewer/ydiff.c         dview->tab_size = tab_size;
dview            2297 src/diffviewer/ydiff.c         dview->tab_size = 8;
dview            2299 src/diffviewer/ydiff.c     dview->opt.quality = mc_config_get_int (mc_global.main_config, "DiffView", "diff_quality", 0);
dview            2301 src/diffviewer/ydiff.c     dview->opt.strip_trailing_cr =
dview            2303 src/diffviewer/ydiff.c     dview->opt.ignore_all_space =
dview            2305 src/diffviewer/ydiff.c     dview->opt.ignore_space_change =
dview            2307 src/diffviewer/ydiff.c     dview->opt.ignore_tab_expansion =
dview            2309 src/diffviewer/ydiff.c     dview->opt.ignore_case =
dview            2312 src/diffviewer/ydiff.c     dview->new_frame = TRUE;
dview            2318 src/diffviewer/ydiff.c dview_save_options (WDiff *dview)
dview            2320 src/diffviewer/ydiff.c     mc_config_set_bool (mc_global.main_config, "DiffView", "show_symbols", dview->display_symbols);
dview            2322 src/diffviewer/ydiff.c                         dview->display_numbers != 0);
dview            2323 src/diffviewer/ydiff.c     mc_config_set_int (mc_global.main_config, "DiffView", "tab_size", dview->tab_size);
dview            2325 src/diffviewer/ydiff.c     mc_config_set_int (mc_global.main_config, "DiffView", "diff_quality", dview->opt.quality);
dview            2328 src/diffviewer/ydiff.c                         dview->opt.strip_trailing_cr);
dview            2330 src/diffviewer/ydiff.c                         dview->opt.ignore_all_space);
dview            2332 src/diffviewer/ydiff.c                         dview->opt.ignore_space_change);
dview            2334 src/diffviewer/ydiff.c                         dview->opt.ignore_tab_expansion);
dview            2336 src/diffviewer/ydiff.c                         dview->opt.ignore_case);
dview            2342 src/diffviewer/ydiff.c dview_diff_options (WDiff *dview)
dview            2353 src/diffviewer/ydiff.c             QUICK_RADIO (3, (const char **) quality_str, (int *) &dview->opt.quality, NULL),
dview            2356 src/diffviewer/ydiff.c             QUICK_CHECKBOX (N_("&Ignore case"), &dview->opt.ignore_case, NULL),
dview            2357 src/diffviewer/ydiff.c             QUICK_CHECKBOX (N_("Ignore tab &expansion"), &dview->opt.ignore_tab_expansion, NULL),
dview            2358 src/diffviewer/ydiff.c             QUICK_CHECKBOX (N_("Ignore &space change"), &dview->opt.ignore_space_change, NULL),
dview            2359 src/diffviewer/ydiff.c             QUICK_CHECKBOX (N_("Ignore all &whitespace"), &dview->opt.ignore_all_space, NULL),
dview            2360 src/diffviewer/ydiff.c             QUICK_CHECKBOX (N_("Strip &trailing carriage return"), &dview->opt.strip_trailing_cr,
dview            2376 src/diffviewer/ydiff.c         dview_reread (dview);
dview            2382 src/diffviewer/ydiff.c dview_init (WDiff *dview, const char *args, const char *file1, const char *file2,
dview            2417 src/diffviewer/ydiff.c     dview->view_quit = FALSE;
dview            2419 src/diffviewer/ydiff.c     dview->bias = 0;
dview            2420 src/diffviewer/ydiff.c     dview->new_frame = TRUE;
dview            2421 src/diffviewer/ydiff.c     dview->skip_rows = 0;
dview            2422 src/diffviewer/ydiff.c     dview->skip_cols = 0;
dview            2423 src/diffviewer/ydiff.c     dview->display_symbols = FALSE;
dview            2424 src/diffviewer/ydiff.c     dview->display_numbers = 0;
dview            2425 src/diffviewer/ydiff.c     dview->show_cr = TRUE;
dview            2426 src/diffviewer/ydiff.c     dview->tab_size = 8;
dview            2427 src/diffviewer/ydiff.c     dview->ord = DIFF_LEFT;
dview            2428 src/diffviewer/ydiff.c     dview->full = FALSE;
dview            2430 src/diffviewer/ydiff.c     dview->search.handle = NULL;
dview            2431 src/diffviewer/ydiff.c     dview->search.last_string = NULL;
dview            2432 src/diffviewer/ydiff.c     dview->search.last_found_line = -1;
dview            2433 src/diffviewer/ydiff.c     dview->search.last_accessed_num_line = -1;
dview            2435 src/diffviewer/ydiff.c     dview_load_options (dview);
dview            2437 src/diffviewer/ydiff.c     dview->args = args;
dview            2438 src/diffviewer/ydiff.c     dview->file[DIFF_LEFT] = file1;
dview            2439 src/diffviewer/ydiff.c     dview->file[DIFF_RIGHT] = file2;
dview            2440 src/diffviewer/ydiff.c     dview->label[DIFF_LEFT] = g_strdup (label1);
dview            2441 src/diffviewer/ydiff.c     dview->label[DIFF_RIGHT] = g_strdup (label2);
dview            2442 src/diffviewer/ydiff.c     dview->f[DIFF_LEFT] = f[0];
dview            2443 src/diffviewer/ydiff.c     dview->f[DIFF_RIGHT] = f[1];
dview            2444 src/diffviewer/ydiff.c     dview->merged[DIFF_LEFT] = FALSE;
dview            2445 src/diffviewer/ydiff.c     dview->merged[DIFF_RIGHT] = FALSE;
dview            2446 src/diffviewer/ydiff.c     dview->hdiff = NULL;
dview            2447 src/diffviewer/ydiff.c     dview->dsrc = dsrc;
dview            2449 src/diffviewer/ydiff.c     dview->converter = str_cnv_from_term;
dview            2450 src/diffviewer/ydiff.c     dview_set_codeset (dview);
dview            2452 src/diffviewer/ydiff.c     dview->a[DIFF_LEFT] = g_array_new (FALSE, FALSE, sizeof (DIFFLN));
dview            2453 src/diffviewer/ydiff.c     g_array_set_clear_func (dview->a[DIFF_LEFT], cc_free_elt);
dview            2454 src/diffviewer/ydiff.c     dview->a[DIFF_RIGHT] = g_array_new (FALSE, FALSE, sizeof (DIFFLN));
dview            2455 src/diffviewer/ydiff.c     g_array_set_clear_func (dview->a[DIFF_RIGHT], cc_free_elt);
dview            2463 src/diffviewer/ydiff.c dview_fini (WDiff *dview)
dview            2465 src/diffviewer/ydiff.c     if (dview->dsrc != DATA_SRC_MEM)
dview            2467 src/diffviewer/ydiff.c         dview_fclose (dview->f[DIFF_RIGHT]);
dview            2468 src/diffviewer/ydiff.c         dview_fclose (dview->f[DIFF_LEFT]);
dview            2472 src/diffviewer/ydiff.c     if (dview->converter != str_cnv_from_term)
dview            2473 src/diffviewer/ydiff.c         str_close_conv (dview->converter);
dview            2476 src/diffviewer/ydiff.c     destroy_hdiff (dview);
dview            2477 src/diffviewer/ydiff.c     if (dview->a[DIFF_LEFT] != NULL)
dview            2479 src/diffviewer/ydiff.c         g_array_free (dview->a[DIFF_LEFT], TRUE);
dview            2480 src/diffviewer/ydiff.c         dview->a[DIFF_LEFT] = NULL;
dview            2482 src/diffviewer/ydiff.c     if (dview->a[DIFF_RIGHT] != NULL)
dview            2484 src/diffviewer/ydiff.c         g_array_free (dview->a[DIFF_RIGHT], TRUE);
dview            2485 src/diffviewer/ydiff.c         dview->a[DIFF_RIGHT] = NULL;
dview            2488 src/diffviewer/ydiff.c     g_free (dview->label[DIFF_LEFT]);
dview            2489 src/diffviewer/ydiff.c     g_free (dview->label[DIFF_RIGHT]);
dview            2495 src/diffviewer/ydiff.c dview_display_file (const WDiff *dview, diff_place_t ord, int r, int c, int height, int width)
dview            2500 src/diffviewer/ydiff.c     FBUF *f = dview->f[ord];
dview            2501 src/diffviewer/ydiff.c     int skip = dview->skip_cols;
dview            2502 src/diffviewer/ydiff.c     gboolean display_symbols = dview->display_symbols;
dview            2503 src/diffviewer/ydiff.c     int display_numbers = dview->display_numbers;
dview            2504 src/diffviewer/ydiff.c     gboolean show_cr = dview->show_cr;
dview            2513 src/diffviewer/ydiff.c     if (dview->tab_size > 0 && dview->tab_size < 9)
dview            2514 src/diffviewer/ydiff.c         tab_size = dview->tab_size;
dview            2542 src/diffviewer/ydiff.c     for (i = dview->skip_rows, j = 0; i < dview->a[ord]->len && j < height; j++, i++)
dview            2549 src/diffviewer/ydiff.c         p = (DIFFLN *) & g_array_index (dview->a[ord], DIFFLN, i);
dview            2571 src/diffviewer/ydiff.c                 if (i == (size_t) dview->search.last_found_line)
dview            2573 src/diffviewer/ydiff.c                 else if (dview->hdiff != NULL && g_ptr_array_index (dview->hdiff, i) != NULL)
dview            2578 src/diffviewer/ydiff.c                     if (dview->utf8)
dview            2585 src/diffviewer/ydiff.c                                g_ptr_array_index (dview->hdiff, i), ord, att);
dview            2594 src/diffviewer/ydiff.c                         if (dview->utf8)
dview            2614 src/diffviewer/ydiff.c                                 if (!dview->utf8)
dview            2618 src/diffviewer/ydiff.c                                                                     dview->converter);
dview            2621 src/diffviewer/ydiff.c                             else if (dview->utf8)
dview            2622 src/diffviewer/ydiff.c                                 next_ch = convert_from_utf_to_current_c (next_ch, dview->converter);
dview            2637 src/diffviewer/ydiff.c                 if (dview->utf8)
dview            2669 src/diffviewer/ydiff.c             if (dview->utf8)
dview            2688 src/diffviewer/ydiff.c                     if (!dview->utf8)
dview            2690 src/diffviewer/ydiff.c                             convert_from_8bit_to_utf_c ((unsigned char) next_ch, dview->converter);
dview            2692 src/diffviewer/ydiff.c                 else if (dview->utf8)
dview            2693 src/diffviewer/ydiff.c                     next_ch = convert_from_utf_to_current_c (next_ch, dview->converter);
dview            2727 src/diffviewer/ydiff.c dview_status (const WDiff *dview, diff_place_t ord, int width, int c)
dview            2738 src/diffviewer/ydiff.c     get_line_numbers (dview->a[ord], dview->skip_rows, &linenum, &lineofs);
dview            2744 src/diffviewer/ydiff.c     vpath = vfs_path_from_str (dview->label[ord]);
dview            2749 src/diffviewer/ydiff.c         tty_printf ("%s%-*s %6d+%-4d Col %-4d ", dview->merged[ord] ? "* " : "  ", filename_width,
dview            2750 src/diffviewer/ydiff.c                     buf, linenum, lineofs, dview->skip_cols);
dview            2752 src/diffviewer/ydiff.c         tty_printf ("%s%-*s %6d+%-4d Dif %-4d ", dview->merged[ord] ? "* " : "  ", filename_width,
dview            2753 src/diffviewer/ydiff.c                     buf, linenum, lineofs, dview->ndiff);
dview            2760 src/diffviewer/ydiff.c dview_redo (WDiff *dview)
dview            2762 src/diffviewer/ydiff.c     if (dview->display_numbers != 0)
dview            2766 src/diffviewer/ydiff.c         old = dview->display_numbers;
dview            2767 src/diffviewer/ydiff.c         dview->display_numbers = calc_nwidth ((const GArray * const *) dview->a);
dview            2768 src/diffviewer/ydiff.c         dview->new_frame = (old != dview->display_numbers);
dview            2770 src/diffviewer/ydiff.c     dview_reread (dview);
dview            2776 src/diffviewer/ydiff.c dview_update (WDiff *dview)
dview            2778 src/diffviewer/ydiff.c     int height = dview->height;
dview            2782 src/diffviewer/ydiff.c     last = dview->a[DIFF_LEFT]->len - 1;
dview            2784 src/diffviewer/ydiff.c     if (dview->skip_rows > last)
dview            2785 src/diffviewer/ydiff.c         dview->skip_rows = dview->search.last_accessed_num_line = last;
dview            2786 src/diffviewer/ydiff.c     if (dview->skip_rows < 0)
dview            2787 src/diffviewer/ydiff.c         dview->skip_rows = dview->search.last_accessed_num_line = 0;
dview            2788 src/diffviewer/ydiff.c     if (dview->skip_cols < 0)
dview            2789 src/diffviewer/ydiff.c         dview->skip_cols = 0;
dview            2795 src/diffviewer/ydiff.c     if (dview->display_numbers != 0)
dview            2796 src/diffviewer/ydiff.c         dview->display_numbers = calc_nwidth ((const GArray * const *) dview->a);
dview            2798 src/diffviewer/ydiff.c     width1 = dview->half1 + dview->bias;
dview            2799 src/diffviewer/ydiff.c     width2 = dview->half2 - dview->bias;
dview            2800 src/diffviewer/ydiff.c     if (dview->full)
dview            2806 src/diffviewer/ydiff.c     if (dview->new_frame)
dview            2811 src/diffviewer/ydiff.c         xwidth = dview->display_numbers;
dview            2812 src/diffviewer/ydiff.c         if (dview->display_symbols)
dview            2839 src/diffviewer/ydiff.c         dview->new_frame = FALSE;
dview            2844 src/diffviewer/ydiff.c         dview_status (dview, dview->ord, width1, 0);
dview            2845 src/diffviewer/ydiff.c         dview_display_file (dview, dview->ord, 2, 1, height - 2, width1 - 2);
dview            2851 src/diffviewer/ydiff.c         ord = dview->ord == DIFF_LEFT ? DIFF_RIGHT : DIFF_LEFT;
dview            2852 src/diffviewer/ydiff.c         dview_status (dview, ord, width2, width1);
dview            2853 src/diffviewer/ydiff.c         dview_display_file (dview, ord, 2, width1 + 1, height - 2, width2 - 2);
dview            2860 src/diffviewer/ydiff.c dview_edit (WDiff *dview, diff_place_t ord)
dview            2866 src/diffviewer/ydiff.c     if (dview->dsrc == DATA_SRC_TMP)
dview            2872 src/diffviewer/ydiff.c     h = WIDGET (WIDGET (dview)->owner);
dview            2875 src/diffviewer/ydiff.c     get_line_numbers (dview->a[ord], dview->skip_rows, &linenum, &lineofs);
dview            2883 src/diffviewer/ydiff.c         tmp_vpath = vfs_path_from_str (dview->file[ord]);
dview            2889 src/diffviewer/ydiff.c     dview_redo (dview);
dview            2890 src/diffviewer/ydiff.c     dview_update (dview);
dview            2896 src/diffviewer/ydiff.c dview_goto_cmd (WDiff *dview, diff_place_t ord)
dview            2922 src/diffviewer/ydiff.c                 for (; i < dview->a[ord]->len; i++)
dview            2926 src/diffviewer/ydiff.c                     p = &g_array_index (dview->a[ord], DIFFLN, i);
dview            2931 src/diffviewer/ydiff.c             dview->skip_rows = dview->search.last_accessed_num_line = (ssize_t) i;
dview            2943 src/diffviewer/ydiff.c dview_labels (WDiff *dview)
dview            2945 src/diffviewer/ydiff.c     Widget *d = WIDGET (dview);
dview            2962 src/diffviewer/ydiff.c dview_save (WDiff *dview)
dview            2966 src/diffviewer/ydiff.c     if (dview->merged[DIFF_LEFT])
dview            2968 src/diffviewer/ydiff.c         res = mc_util_unlink_backup_if_possible (dview->file[DIFF_LEFT], "~~~");
dview            2969 src/diffviewer/ydiff.c         dview->merged[DIFF_LEFT] = !res;
dview            2971 src/diffviewer/ydiff.c     if (dview->merged[DIFF_RIGHT])
dview            2973 src/diffviewer/ydiff.c         res = mc_util_unlink_backup_if_possible (dview->file[DIFF_RIGHT], "~~~");
dview            2974 src/diffviewer/ydiff.c         dview->merged[DIFF_RIGHT] = !res;
dview            2982 src/diffviewer/ydiff.c dview_do_save (WDiff *dview)
dview            2984 src/diffviewer/ydiff.c     (void) dview_save (dview);
dview            2994 src/diffviewer/ydiff.c dview_ok_to_exit (WDiff *dview)
dview            2999 src/diffviewer/ydiff.c     if (!dview->merged[DIFF_LEFT] && !dview->merged[DIFF_RIGHT])
dview            3017 src/diffviewer/ydiff.c         (void) dview_save (dview);
dview            3021 src/diffviewer/ydiff.c         if (mc_util_restore_from_backup_if_possible (dview->file[DIFF_LEFT], "~~~"))
dview            3022 src/diffviewer/ydiff.c             res = mc_util_unlink_backup_if_possible (dview->file[DIFF_LEFT], "~~~");
dview            3023 src/diffviewer/ydiff.c         if (mc_util_restore_from_backup_if_possible (dview->file[DIFF_RIGHT], "~~~"))
dview            3024 src/diffviewer/ydiff.c             res = mc_util_unlink_backup_if_possible (dview->file[DIFF_RIGHT], "~~~");
dview            3036 src/diffviewer/ydiff.c dview_execute_cmd (WDiff *dview, long command)
dview            3043 src/diffviewer/ydiff.c         dview->display_symbols = !dview->display_symbols;
dview            3044 src/diffviewer/ydiff.c         dview->new_frame = TRUE;
dview            3047 src/diffviewer/ydiff.c         dview->display_numbers ^= calc_nwidth ((const GArray * const *) dview->a);
dview            3048 src/diffviewer/ydiff.c         dview->new_frame = TRUE;
dview            3051 src/diffviewer/ydiff.c         dview->full = !dview->full;
dview            3052 src/diffviewer/ydiff.c         dview->new_frame = TRUE;
dview            3055 src/diffviewer/ydiff.c         if (!dview->full)
dview            3057 src/diffviewer/ydiff.c             dview->bias = 0;
dview            3058 src/diffviewer/ydiff.c             dview->new_frame = TRUE;
dview            3062 src/diffviewer/ydiff.c         if (!dview->full)
dview            3064 src/diffviewer/ydiff.c             dview_compute_split (dview, 1);
dview            3065 src/diffviewer/ydiff.c             dview->new_frame = TRUE;
dview            3070 src/diffviewer/ydiff.c         if (!dview->full)
dview            3072 src/diffviewer/ydiff.c             dview_compute_split (dview, -1);
dview            3073 src/diffviewer/ydiff.c             dview->new_frame = TRUE;
dview            3077 src/diffviewer/ydiff.c         dview->tab_size = 2;
dview            3080 src/diffviewer/ydiff.c         dview->tab_size = 3;
dview            3083 src/diffviewer/ydiff.c         dview->tab_size = 4;
dview            3086 src/diffviewer/ydiff.c         dview->tab_size = 8;
dview            3089 src/diffviewer/ydiff.c         dview->ord ^= 1;
dview            3092 src/diffviewer/ydiff.c         dview_redo (dview);
dview            3095 src/diffviewer/ydiff.c         dview->skip_rows = dview->search.last_accessed_num_line =
dview            3096 src/diffviewer/ydiff.c             find_next_hunk (dview->a[DIFF_LEFT], dview->skip_rows);
dview            3099 src/diffviewer/ydiff.c         dview->skip_rows = dview->search.last_accessed_num_line =
dview            3100 src/diffviewer/ydiff.c             find_prev_hunk (dview->a[DIFF_LEFT], dview->skip_rows);
dview            3103 src/diffviewer/ydiff.c         dview_goto_cmd (dview, DIFF_RIGHT);
dview            3106 src/diffviewer/ydiff.c         dview_edit (dview, dview->ord);
dview            3109 src/diffviewer/ydiff.c         do_merge_hunk (dview, FROM_LEFT_TO_RIGHT);
dview            3110 src/diffviewer/ydiff.c         dview_redo (dview);
dview            3113 src/diffviewer/ydiff.c         do_merge_hunk (dview, FROM_RIGHT_TO_LEFT);
dview            3114 src/diffviewer/ydiff.c         dview_redo (dview);
dview            3117 src/diffviewer/ydiff.c         dview_edit (dview, dview->ord ^ 1);
dview            3120 src/diffviewer/ydiff.c         dview_search_cmd (dview);
dview            3123 src/diffviewer/ydiff.c         dview_continue_search_cmd (dview);
dview            3126 src/diffviewer/ydiff.c         dview->skip_rows = dview->search.last_accessed_num_line = 0;
dview            3129 src/diffviewer/ydiff.c         dview->skip_rows = dview->search.last_accessed_num_line = dview->a[DIFF_LEFT]->len - 1;
dview            3132 src/diffviewer/ydiff.c         if (dview->skip_rows > 0)
dview            3134 src/diffviewer/ydiff.c             dview->skip_rows--;
dview            3135 src/diffviewer/ydiff.c             dview->search.last_accessed_num_line = dview->skip_rows;
dview            3139 src/diffviewer/ydiff.c         dview->skip_rows++;
dview            3140 src/diffviewer/ydiff.c         dview->search.last_accessed_num_line = dview->skip_rows;
dview            3143 src/diffviewer/ydiff.c         if (dview->height > 2)
dview            3145 src/diffviewer/ydiff.c             dview->skip_rows += dview->height - 2;
dview            3146 src/diffviewer/ydiff.c             dview->search.last_accessed_num_line = dview->skip_rows;
dview            3150 src/diffviewer/ydiff.c         if (dview->height > 2)
dview            3152 src/diffviewer/ydiff.c             dview->skip_rows -= dview->height - 2;
dview            3153 src/diffviewer/ydiff.c             dview->search.last_accessed_num_line = dview->skip_rows;
dview            3157 src/diffviewer/ydiff.c         dview->skip_cols--;
dview            3160 src/diffviewer/ydiff.c         dview->skip_cols++;
dview            3163 src/diffviewer/ydiff.c         dview->skip_cols -= 8;
dview            3166 src/diffviewer/ydiff.c         dview->skip_cols += 8;
dview            3169 src/diffviewer/ydiff.c         dview->skip_cols = 0;
dview            3175 src/diffviewer/ydiff.c         dview->view_quit = TRUE;
dview            3178 src/diffviewer/ydiff.c         dview_do_save (dview);
dview            3181 src/diffviewer/ydiff.c         dview_diff_options (dview);
dview            3185 src/diffviewer/ydiff.c         dview_select_encoding (dview);
dview            3200 src/diffviewer/ydiff.c dview_handle_key (WDiff *dview, int key)
dview            3208 src/diffviewer/ydiff.c     command = widget_lookup_key (WIDGET (dview), key);
dview            3212 src/diffviewer/ydiff.c     return dview_execute_cmd (dview, command);
dview            3220 src/diffviewer/ydiff.c     WDiff *dview = (WDiff *) w;
dview            3227 src/diffviewer/ydiff.c         dview_labels (dview);
dview            3228 src/diffviewer/ydiff.c         dview_update (dview);
dview            3232 src/diffviewer/ydiff.c         dview->new_frame = TRUE;
dview            3233 src/diffviewer/ydiff.c         dview_update (dview);
dview            3237 src/diffviewer/ydiff.c         i = dview_handle_key (dview, parm);
dview            3238 src/diffviewer/ydiff.c         if (dview->view_quit)
dview            3241 src/diffviewer/ydiff.c             dview_update (dview);
dview            3245 src/diffviewer/ydiff.c         i = dview_execute_cmd (dview, parm);
dview            3246 src/diffviewer/ydiff.c         if (dview->view_quit)
dview            3249 src/diffviewer/ydiff.c             dview_update (dview);
dview            3254 src/diffviewer/ydiff.c         dview_compute_areas (dview);
dview            3258 src/diffviewer/ydiff.c         dview_save_options (dview);
dview            3259 src/diffviewer/ydiff.c         dview_fini (dview);
dview            3272 src/diffviewer/ydiff.c     WDiff *dview = (WDiff *) w;
dview            3281 src/diffviewer/ydiff.c             dview->skip_rows -= 2;
dview            3283 src/diffviewer/ydiff.c             dview->skip_rows += 2;
dview            3285 src/diffviewer/ydiff.c         dview->search.last_accessed_num_line = dview->skip_rows;
dview            3286 src/diffviewer/ydiff.c         dview_update (dview);
dview            3299 src/diffviewer/ydiff.c     WDiff *dview;
dview            3312 src/diffviewer/ydiff.c         dview = (WDiff *) widget_find_by_type (CONST_WIDGET (h), dview_callback);
dview            3315 src/diffviewer/ydiff.c         if (dview_ok_to_exit (dview))
dview            3329 src/diffviewer/ydiff.c     const WDiff *dview;
dview            3335 src/diffviewer/ydiff.c     dview = (const WDiff *) widget_find_by_type (CONST_WIDGET (h), dview_callback);
dview            3340 src/diffviewer/ydiff.c     g_string_append (title, dview->merged[DIFF_LEFT] ? modified : notmodified);
dview            3341 src/diffviewer/ydiff.c     g_string_append (title, str_term_trim (dview->label[DIFF_LEFT], len1));
dview            3343 src/diffviewer/ydiff.c     g_string_append (title, dview->merged[DIFF_RIGHT] ? modified : notmodified);
dview            3344 src/diffviewer/ydiff.c     g_string_append (title, str_term_trim (dview->label[DIFF_RIGHT], len1));
dview            3355 src/diffviewer/ydiff.c     WDiff *dview;
dview            3372 src/diffviewer/ydiff.c     dview = g_new0 (WDiff, 1);
dview            3373 src/diffviewer/ydiff.c     w = WIDGET (dview);
dview            3385 src/diffviewer/ydiff.c     error = dview_init (dview, "-a", file1, file2, label1, label2, DATA_SRC_MEM);       /* XXX binary diff? */
dview            3387 src/diffviewer/ydiff.c         error = redo_diff (dview);
dview            3390 src/diffviewer/ydiff.c         dview->ndiff = error;
dview            3391 src/diffviewer/ydiff.c         dview_compute_areas (dview);