Changeset 912


Ignore:
Timestamp:
Nov 2, 2010, 7:54:49 PM (7 years ago)
Author:
joerg
Message:

forward search

File:
1 edited

Legend:

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

    r911 r912  
    10291029        int line = editor.getTextPane().getCaret().getRow()+1;
    10301030        String texfile = editor.getFile().getAbsolutePath();
    1031         String file = texfile.substring(0, texfile.lastIndexOf(".tex"));;
     1031        String file = getMainEditor().getFile().getAbsolutePath().substring(0, texfile.lastIndexOf(".tex")-1);;
    10321032
    10331033        ArrayList<String> list = StringUtils.tokenize(GProperties.getString("viewer.forward search"));
     
    10421042          token = token.replaceAll("&nbsp;", " ");
    10431043          array[index] = token;
     1044          System.out.println(token);
    10441045        }
    10451046        ProcessUtil.exec(array, mainEditor.getFile().getParentFile());
Note: See TracChangeset for help on using the changeset viewer.