#!/bin/bash
# for development

EDITOR_HOME=`dirname $0`

export DICTIONARIES=$EDITOR_HOME/dictionaries/

. luan string:
CLASSPATH=$CLASSPATH:$EDITOR_HOME/lib/jortho.jar:$EDITOR_HOME/src

mkdir -p ~/.luan_editor

java -Xdock:name="Luan Editor" -classpath $CLASSPATH luan.Luan classpath:luan_editor/editor.luan "$@" 2>&1 | grep --line-buffered -v 'NSRemoteView\|NSSavePanel' | tee err
