~ubuntu-branches/ubuntu/utopic/sikuli/utopic

« back to all changes in this revision

Viewing changes to sikuli-ide/src/main/java/org/sikuli/ide/SikuliIDE.java

  • Committer: Package Import Robot
  • Author(s): Gilles Filippini
  • Date: 2012-02-15 15:17:58 UTC
  • mfrom: (4.1.4 sid)
  • Revision ID: package-import@ubuntu.com-20120215151758-0waq2g0irnska3jf
Tags: 1.0~x~rc3.tesseract3-dfsg1-1
* Merge with the feature/tesseract3 branch from upstream
* debian/control: Build-Depends: libtesseract-dev instead of
  deprecated tesseract-ocr-dev (Closes: #659598)
* The upstream source code repository moved to github

* New patch:
  + tess3.patch:
    - Fix build with tesseract3
    - use OCR strategie OEM_TESSERACT_ONLY for now. Upstream has
      reported a 4x slowdown when using OEM_TESSERACT_CUBE_COMBINED
* Patch fix-cmake-sikuli-ide.patch:
  + Add a DEP3 style description
* debian/copyright:
  + Update DEP5 Format URL
  + Bump copyright years

Show diffs side-by-side

added added

removed removed

Lines of Context:
741
741
         try{
742
742
            JScrollPane scrPane = (JScrollPane)_mainPane.getComponentAt(i);
743
743
            SikuliPane codePane = (SikuliPane)scrPane.getViewport().getView();
744
 
            String bundlePath= codePane.getSrcBundle();
745
 
            if(bundlePath != null){
 
744
            File f = codePane.getCurrentFile();
 
745
            if( f != null){
 
746
               String bundlePath= codePane.getSrcBundle();
746
747
               Debug.log(5, "save session: " + bundlePath);
747
748
               if(i!=0)
748
749
                  sbuf.append(";");
839
840
         setCurrentFilename(file);
840
841
      }
841
842
      catch(IOException e){
842
 
         e.printStackTrace();
 
843
         Debug.error("Can't load file " + file);
 
844
         Debug.error(e.getMessage());
843
845
      }
844
846
   }
845
847