]> git.lyx.org Git - features.git/commitdiff
Since version 1.9 SumatraPDF supports forward search without DDE commands.
authorEnrico Forestieri <forenr@lyx.org>
Tue, 6 Mar 2012 23:30:23 +0000 (23:30 +0000)
committerEnrico Forestieri <forenr@lyx.org>
Tue, 6 Mar 2012 23:30:23 +0000 (23:30 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@40879 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiPrefs.cpp
status.20x

index 391f0c0023f9007ae8f21517108e7a8a02b2cc8c..b32d8f09fbd09e70573ecb0f0ff90ec2474ec7dd 100644 (file)
@@ -410,6 +410,7 @@ PrefOutput::PrefOutput(GuiPreferences * form)
        dviCB->addItem("synctex view -i $$n:0:$$t -o $$o -x \"evince -i %{page+1} $$o\"");
        pdfCB->addItem("");
        pdfCB->addItem("CMCDDE SUMATRA control [ForwardSearch(\\\"$$o\\\",\\\"$$t\\\",$$n,0,0,1)]");
+       pdfCB->addItem("SumatraPDF -reuse-instance $$o -forward-search $$t $$n");
        pdfCB->addItem("synctex view -i $$n:0:$$t -o $$o -x \"xpdf -raise -remote $$t.tmp $$o %{page+1}\"");
        pdfCB->addItem("okular --unique \"file:$$o#src:$$n $$t\"");
        pdfCB->addItem("synctex view -i $$n:0:$$t -o $$o -x \"evince -i %{page+1} $$o\"");
index faf13b54e741f02741bacbf4ea8abce527d20211..3372b7c149486fe1e76d92ca5741576f48184859 100644 (file)
@@ -40,6 +40,9 @@ What's new
 
 - Fix undo warning when inserting plain text file (bug 7916).
 
+- New command for forward search with SumatraPDF without the need of an
+  external DDE program (requires SumatraPDF version 1.9 or higher).
+
 
 * DOCUMENTATION AND LOCALIZATION