Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 357566 Details for
Bug 483274
app-text/poppler-0.22.5 Please stabilize
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
poppler-0.22.2-glib-Always-start-from-the-beginning-when-starting-a.patch
poppler-0.22.2-glib-Always-start-from-the-beginning-when-starting-a.patch (text/plain), 1.73 KB, created by
Petr Pisar
on 2013-09-01 15:16:16 UTC
(
hide
)
Description:
poppler-0.22.2-glib-Always-start-from-the-beginning-when-starting-a.patch
Filename:
MIME Type:
Creator:
Petr Pisar
Created:
2013-09-01 15:16:16 UTC
Size:
1.73 KB
patch
obsolete
>From 4ee6757dd7de9211faf8601531342a199225a06d Mon Sep 17 00:00:00 2001 >From: Carlos Garcia Campos <carlosgc@gnome.org> >Date: Sun, 24 Mar 2013 12:53:29 +0100 >Subject: [PATCH] glib: Always start from the beginning when starting a new > search on a page > >And start from previous match when searching the next one on the same >page. This allows to search for the same string multiple times on the >same page. > >https://bugs.freedesktop.org/show_bug.cgi?id=59972 >--- > glib/poppler-page.cc | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > >diff --git a/glib/poppler-page.cc b/glib/poppler-page.cc >index b88c70b..631edb5 100644 >--- a/glib/poppler-page.cc >+++ b/glib/poppler-page.cc >@@ -877,6 +877,7 @@ poppler_page_find_text_with_options (PopplerPage *page, > double height; > TextPage *text_dev; > gboolean backwards; >+ gboolean start_at_last = FALSE; > > g_return_val_if_fail (POPPLER_IS_PAGE (page), NULL); > g_return_val_if_fail (text != NULL, NULL); >@@ -893,7 +894,8 @@ poppler_page_find_text_with_options (PopplerPage *page, > > while (text_dev->findText (ucs4, ucs4_len, > gFalse, gTrue, // startAtTop, stopAtBottom >- gTrue, gFalse, // startAtLast, stopAtLast >+ start_at_last, >+ gFalse, //stopAtLast > options & POPPLER_FIND_CASE_SENSITIVE, > backwards, > options & POPPLER_FIND_WHOLE_WORDS_ONLY, >@@ -905,6 +907,7 @@ poppler_page_find_text_with_options (PopplerPage *page, > match->x2 = xMax; > match->y2 = height - yMin; > matches = g_list_prepend (matches, match); >+ start_at_last = TRUE; > } > > g_free (ucs4); >-- >1.8.1.5 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 483274
: 357566