[RFC][PATCH] Change to GuiView::goToFileRow

Stephan Witt st.witt at gmx.net
Fri Feb 14 20:00:48 UTC 2020

Hi all,

I’ve a problem in LyX master with reverse search I don’t have in 2.3.x.
Unfortunately I cannot see the difference in LyX code causing it.

The situation is: on Mac the directory /var is an symlink to private/var.
So the temporary files are with real path below /private/var/. The SyncTex
file contains this path name, e.g.


But the reverse search script is called with file name:


Some normalization happens here. I’ve changed the lyxeditor script to see the call. It’s not
the operation in line 85 (were sed is used to remove /private from path name).

To make the GuiView::goToFileRow() implementation more robust I came to the attached patch.

I’m confident it cannot hurt. But as I don’t understand the situation completely I ask for comments.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: goToFileRow.patch
Type: application/octet-stream
Size: 920 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200214/f70cc2ce/attachment.obj>

More information about the lyx-devel mailing list