"Ctrl+A should update the caret position"
I rebased the patches from issue #387 (closed) and make them a MR. I did not fix the warnings, though.
libview/ev-view.c: In function ‘ev_view_move_cursor’:
evince/libview/ev-view.c:6515:8: warning: ‘select_start_page’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (!get_caret_cursor_area (view, select_start_page, select_start_offset, &select_start_rect))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libview/ev-view.c:6515:8: warning: ‘select_start_offset’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Closes #387 (closed)
Edited by Germán Poo-Caamaño