Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
pwmt
zathura
Commits
950a52b6
Commit
950a52b6
authored
Apr 07, 2014
by
Sebastian Ramacher
Browse files
Another round of debug output for synctex.
Signed-off-by:
Sebastian Ramacher
<
sebastian+dev@ramacher.at
>
parent
2d785cc2
Changes
1
Hide whitespace changes
Inline
Side-by-side
dbus-interface.c
View file @
950a52b6
...
...
@@ -172,6 +172,7 @@ highlight_rects(zathura_t* zathura, unsigned int page,
girara_list_t
*
rect_list
=
rectangles
[
page
];
if
(
rect_list
==
NULL
||
girara_list_size
(
rect_list
)
==
0
)
{
girara_debug
(
"No rectangles for the given page. Jumping to page %u."
,
page
);
page_set
(
zathura
,
page
);
return
;
}
...
...
@@ -198,7 +199,7 @@ highlight_rects(zathura_t* zathura, unsigned int page,
zathura_page_t
*
doc_page
=
zathura_document_get_page
(
zathura
->
document
,
page
);
zathura_rectangle_t
*
rect
=
girara_list_nth
(
rect_list
,
0
);
if
(
rect
==
NULL
)
{
girara_debug
(
"List of rects is broken.
"
);
girara_debug
(
"List of rect
angle
s is broken.
Jumping to page %u."
,
page
);
page_set
(
zathura
,
page
);
return
;
}
...
...
@@ -216,6 +217,7 @@ highlight_rects(zathura_t* zathura, unsigned int page,
}
/* move to position */
girara_debug
(
"Jumping to page %u position (%f, %f)."
,
page
,
pos_x
,
pos_y
);
zathura_jumplist_add
(
zathura
);
position_set
(
zathura
,
pos_x
,
pos_y
);
zathura_jumplist_add
(
zathura
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment