#!/bin/sh

# Special code for text editors used by GDE and scripts called by GDE
# Nedit crashes in some Linux systems due to libraries set in BIRCHLIBS.
# nedit_wrapper unsets LD_LIBRARY_PATH before calling nedit.
# gedit opens all files in a single window. gedit_wrapper.sh forces
# gedit to open each file in different window.

case $BL_TextEditor in 
  "nedit")
     #BL_TextEditor=nedit_wrapper.sh 
     BL_TextEditor=nedit     
    ;;
  "gedit")
     BL_TextEditor=gedit_wrapper.sh    
    ;;
  *)
     BL_TextEditor=$BL_TextEditor
    ;;          
esac

echo $BL_TextEditor
