Changeset 914


Ignore:
Timestamp:
Nov 2, 2010, 8:59:23 PM (7 years ago)
Author:
stefan
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/jlatexeditor/JLatexEditorJFrame.java

    r912 r914  
    265265      forwardSearch.add(createMenuItem("Skim", "forward search: /Applications/Skim.app/Contents/SharedSupport/displayline %line \"%file.pdf\" \"%texfile\"", null));
    266266      forwardSearch.add(createMenuItem("xdvi", "forward search: xdvi -sourceposition \"%line %file.dvi\" -nofork", null));
    267       forwardSearch.add(createMenuItem("kdvi", "forward search: kdvi \"file:%file.dvi#src:%line %texfile\"", null));
     267      forwardSearch.add(createMenuItem("kdvi", "forward search: kdvi \"file:%file.dvi#src:%line %file\"", null));
    268268    }
    269269    settingsMenu.add(forwardSearch);
     
    10291029        int line = editor.getTextPane().getCaret().getRow()+1;
    10301030        String texfile = editor.getFile().getAbsolutePath();
    1031         String file = getMainEditor().getFile().getAbsolutePath().substring(0, texfile.lastIndexOf(".tex")-1);;
     1031        String mainFile = getMainEditor().getFile().getAbsolutePath();
     1032        String file = mainFile.substring(0, mainFile.lastIndexOf(".tex"));
    10321033
    10331034        ArrayList<String> list = StringUtils.tokenize(GProperties.getString("viewer.forward search"));
Note: See TracChangeset for help on using the changeset viewer.