zathura/synctex.h
Sebastian Ramacher eabd883e62 Add synctex-editor-command setting
Also, turn on SyncTeX backward synchronization per default and remove -s option.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-07-26 16:14:36 +02:00

19 lines
497 B
C

/* See LICENSE file for license and copyright information */
#ifndef SYNCTEX_H
#define SYNCTEX_H
#include "types.h"
typedef struct synctex_page_rect_s {
int page;
zathura_rectangle_t rect;
} synctex_page_rect_t;
void synctex_edit(const char* editor, zathura_page_t* page, int x, int y);
girara_list_t* synctex_rectangles_from_position(const char* filename,
const char* input_file, int line, int column, unsigned int* page,
girara_list_t** secondary_rects);
#endif