commit 983da7d6dea0af6658debac3cf338c4c6a3c810e
Author: Stephan Witt <[email protected]>
Date: Thu Feb 13 16:38:37 2020 +0100
Put the LyX window frontmost automatically on Mac on successful reverse
search
---
development/MacOSX/lyxeditor | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/development/MacOSX/lyxeditor b/development/MacOSX/lyxeditor
index 7431b3b..670dea2 100755
--- a/development/MacOSX/lyxeditor
+++ b/development/MacOSX/lyxeditor
@@ -90,6 +90,7 @@ if [ -n "$LYXPIPE" -a -p "$LYXPIPE".in ]; then
while read line ; do
echo LyX said: $line
done < "${LYXPIPE}".out || { echo "Cannot read from lyxpipe." ; exit 2
; }
+ test -x /usr/bin/osascript && /usr/bin/osascript -e 'tell application
"LyX" to activate'
else
echo "Our best guess sets lyxpipe as ${LYXPIPE}"
echo "But the lyxpipe could not be found."
--
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs