Commit Graph

19 Commits

Author SHA1 Message Date
Sebastian Ramacher
87f0ee8d5b Convert backward synchronization to synctex_parser
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-05-30 17:07:07 +02:00
Sebastian Ramacher
79eb7d88c8 Switch forward synchronizaton to synctex_parser
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-05-30 16:31:19 +02:00
Sebastian Ramacher
06205940bb Do not call HighlightRects if there was no usable output from synctex view
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-04-07 16:36:48 +02:00
Sebastian Ramacher
af40bbabad Only allocate dynamically if we add to the list
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-19 19:42:54 +01:00
Sebastian Ramacher
3524c6da23 Add extra element for NULL at the end
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-19 17:15:09 +01:00
Moritz Lipp
0fc5b80121 Replace glib memory functions with try version 2014-01-19 16:47:08 +01:00
Sebastian Ramacher
5a992d2d46 Make page an integer where possible
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-17 16:31:01 +01:00
Sebastian Ramacher
bfb3acc1b1 Fix the page number once while parsing the synctex output
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-17 16:21:44 +01:00
Sebastian Ramacher
0e733af2a5 Fix some bugs in the D-Bus and synctex code
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-15 20:59:18 +01:00
Sebastian Ramacher
5021767a18 Split of guess_content_type
… and use it everywhere we want to get the content type of a file.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-14 18:01:34 +01:00
Sebastian Ramacher
74fd28b4b2 Send rectangles not on the main page too
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-14 16:15:34 +01:00
Sebastian Ramacher
7e6112d883 Use the appropriate constant
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-12 23:29:33 +01:00
Sebastian Ramacher
d0b7676bc3 Just return a list of rectangles
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2014-01-11 22:04:14 +01:00
Sebastian Ramacher
b3c2327fbb Make synctex_view available
Also fix argv handling.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2013-12-23 15:41:44 +01:00
Abdo Roig-Maranges
1171bffb6b replace delayed versions of page_set and position_set
The new page_set and position_set behave as delayed, but with the
immediate availability of the new positions through the document
object. We no longer need to keep delayed and non-delayed versions!
2013-10-26 17:13:56 +02:00
Moritz Lipp
89e7832047 Update style 2012-10-09 01:12:18 +02:00
Moritz Lipp
a8cd10dcac Synctex forward synchronisation 2012-09-17 17:37:36 +02:00
Moritz Lipp
a8ea4a6328 Update coding style 2012-09-17 17:23:58 +02:00
Sebastian Ramacher
49116a0834 Synctex backwards synchronization
Thanks to Roland Schatz for the patch.
2012-07-13 15:39:16 +02:00