[RFC][PATCH] Change to GuiView::goToFileRow
st.witt at gmx.net
Fri Feb 14 20:00:48 UTC 2020
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...
Size: 920 bytes
Desc: not available
More information about the lyx-devel