Changeset 926


Ignore:
Timestamp:
Nov 11, 2010, 9:44:46 AM (7 years ago)
Author:
stefan
Message:

implemented feature #122: implement inverse search

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/jlatexeditor

    r367 r926  
    22
    33DIR=`dirname $0`
     4
     5# if there is only one argument which is not an option then it must be a file which we could try to open directly
     6if [ $# == 1 ]; then
     7  if echo "$1" | grep -q "^[^-]"; then
     8    echo "open: $1" | nc -w 1 localhost 13231 2>/dev/null && exit 0
     9  fi
     10fi
    411
    512action=start
  • trunk/start.sh

    r801 r926  
    33cd `dirname $0`
    44
     5# if there is only one argument which is not an option then it must be a file which we could try to open directly
     6if [ $# == 1 ]; then
     7  if echo "$1" | grep -q "^[^-]"; then
     8    echo "open: $1" | nc -w 1 localhost 13231 2>/dev/null && exit 0
     9  fi
     10fi
     11
    512svn up
    613ant compile
  • trunk/startDebug.sh

    r850 r926  
    33cd `dirname $0`
    44
     5# if there is only one argument which is not an option then it must be a file which we could try to open directly
     6if [ $# == 1 ]; then
     7  if echo "$1" | grep -q "^[^-]"; then
     8    echo "open: $1" | nc -w 1 localhost 13231 2>/dev/null && exit 0
     9  fi
     10fi
     11
    512svn up
    613ant compile
Note: See TracChangeset for help on using the changeset viewer.