Marwan Tanager
a0c12d4cdd
Save position on the jumplist before and after jumping to a bookmark
...
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-06-10 14:48:11 +02:00
Marwan Tanager
cc3b9aea18
More Vim-like search behavior
...
This patch activates the last aborted search when pressing the search shortcuts
('n' or 'N').
To avoid confusion, and to make things more predictable, I've chosen to always
reactivate an aborted search starting from the beginning (or end, in case of
'N' or '?') of the current page, as opposed to Vim which continues from the
next search term each time the search is reactivated.
Searching using '/' or '?' doesn't center the view at the current search term
like when using 'n' or 'N', so we fix this here.
Also, I managed to work around the issue of the thin rectangular margins that
show around the previously-highlighted search terms after the search is aborted
(either explicitly or as a result of following links), by redrawing the page
widget (only if it's visible) instead of redrawing the rectangles covering the
highlighted search terms.
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-06-10 14:35:19 +02:00
Moritz Lipp
87f10baffc
Allow negative offsets
2013-05-08 18:28:32 +02:00
Benoît Knecht
27c291758e
Add a '--page' option to open at the specified page
...
If '--page [number]' (or '-P [number]') is given on the command-line,
the document is opened at the specified page number. Negative numbers
are allowed, and denote a page number starting from the end of the
document.
See issue 275 <http://bugs.pwmt.org/issue275 >.
Reported-by: bob <sean258@gmail.com>
2013-03-17 11:30:22 +01:00
Rob Cornish
1a6b03fc62
Fixed reverse searching behaviour to be more like less/vi
...
Signed-off-by: Sebastian Ramacher <sebastian@ramacher.at>
2012-12-19 00:29:31 +01:00
Moritz Lipp
89e7832047
Update style
2012-10-09 01:12:18 +02:00
Sebastian Ramacher
07fbbd514a
Lock the render thread while searching.
...
This is a temporary workaround because of issues in the poppler plugin. We
really need to introduce locking in the poppler plugin and remove the render
locks agains.
Closes : #253
2012-09-22 12:50:11 +02:00
Moritz Lipp
a08520a33d
Implement cmd_exec with
2012-08-14 11:45:11 +02:00
Moritz Lipp
66b6fa65a1
Add --version command line argument
2012-07-12 10:37:58 +02:00
Moritz Lipp
d3203905f1
Implement :version command
2012-06-13 16:08:33 +02:00
Moritz Lipp
83f55ff24a
Implement sc_print
2012-05-08 16:47:34 +02:00
Moritz Lipp
c69eebd87f
Export images and attachments
2012-05-01 11:54:52 +02:00
Moritz Lipp
036dc0cd57
Implement hlsearch/nohlsearch
2012-04-22 19:12:45 +02:00
Sebastian Ramacher
1e2ff0557e
Hide some structs from the plugins.
2012-04-06 13:54:17 +02:00
Moritz Lipp
97247f41ca
Unhitch zathura_t from document_t/page_t/plugin_manager_t
2012-04-03 09:02:45 +02:00
Moritz Lipp
7a9c7d762c
Prevent possible null pointer dereference
2012-04-01 11:38:38 +02:00
Moritz Lipp
ab4c364e56
Update document information plugin api
2012-03-30 18:24:00 +02:00
Moritz Lipp
334b4fbb95
Introduce and use zathura_document wrapper functions
2012-03-27 21:59:35 +02:00
Moritz Lipp
4ade2c1472
Introduced plugin.h and plugin-api.h
2012-03-27 13:30:04 +02:00
Moritz Lipp
5bf32f33a5
Rename page_get_id to page_get_index
2012-03-26 15:30:58 +02:00
Moritz Lipp
efc108fbe2
Introduced page.h
2012-03-26 14:44:56 +02:00
Moritz Lipp
90796b5b5c
Added :offset command and some style updates
2012-03-24 18:27:10 +01:00
Moritz Lipp
3908c70eec
Implemented cmd_quit
2012-03-24 10:38:48 +01:00
Sebastian Ramacher
66bc63f5a7
Rename page_widget to page-widget.
2012-03-16 14:37:54 +01:00
Moritz Lipp
4144bcf5a0
Display error message if no document information is available
2012-03-06 21:55:10 +01:00
Sebastian Ramacher
82c38fa336
Update de.po
2012-03-05 17:27:17 +01:00
Sebastian Ramacher
d1cd82fe68
Don't overwrite existing files in :save
2012-03-05 15:04:29 +01:00
Sebastian Ramacher
81e5d60ad7
Make strings in cmd_save and cmd_savef translateable.
2012-03-05 12:25:34 +01:00
Moritz Lipp
0049b6fa4b
Notify if an error occurs in the :write command
2012-03-04 23:54:03 +01:00
Sebastian Ramacher
b7a20a5e2b
Make all strings passed to girara_notify translateable.
2012-03-04 18:45:58 +01:00
Moritz Lipp
625db90579
Removed some obsolete checks
2012-02-20 20:54:21 +01:00
Moritz Lipp
b6f1868e7f
Fix automatic file reloading
2012-02-20 20:07:24 +01:00
Moritz Lipp
bf0bb66503
Abort search if page_search_text is not implemented
2012-02-18 09:21:34 +01:00
Moritz Lipp
3facd5beb0
Replace image_save with image_get_cairo
2012-02-11 17:53:28 +01:00
Moritz Lipp
626fd50e32
Introduced zathura_plugin_error_t
2012-02-07 21:10:59 +01:00
Sebastian Ramacher
b60804ef78
implement search forward and backward
2012-02-07 19:15:01 +01:00
Moritz Lipp
21a65cbe34
Rename PageViewWidget to PageWidget
2012-02-07 18:30:46 +01:00
Sebastian Ramacher
ed61553309
jump to first result if it is not one the current page
2012-02-07 18:19:48 +01:00
Sebastian Ramacher
ba0ee61dfe
draw search results again
2012-02-07 16:59:42 +01:00
Moritz Lipp
d3967d9bde
Save links in page_view_widget
2012-02-07 16:39:02 +01:00
Sebastian Ramacher
c2b9d22ad1
don't search on hidden pages
2012-02-07 15:05:22 +01:00
Sebastian Ramacher
01bdd58104
implement cmd_search
2012-02-07 12:08:00 +01:00
Sebastian Ramacher
82525556a3
implement :export
2012-01-13 18:54:09 +01:00
Sebastian Ramacher
777e19baf4
const correctness
2011-12-09 14:48:16 +01:00
Sebastian Ramacher
8146ebdb3d
Fix 'format not a string literal' warnings
2011-11-19 17:14:02 +01:00
Moritz Lipp
5acf8da4de
Merge branch 'develop' of pwmt.org:zathura into develop
2011-10-24 10:51:09 +02:00
Sebastian Ramacher
911d84c908
update includes due to girara restructuring
2011-10-23 17:01:15 +02:00
Moritz Lipp
98cc73d3e4
Added cmd_search
2011-10-22 16:35:38 +02:00
Moritz Lipp
9f1a3c6c62
Some style updates
2011-10-12 16:18:40 +02:00
Moritz Lipp
f384c912a0
Fix cc_bookmarks
2011-10-12 12:49:52 +02:00