Bill - 

That works great!  Thanks!

Mike


On Oct 12, 2006, at 8:51 AM, Bill Bumgarner wrote:

def TextMate.file_link (file, line = 0)

  return "txmt://open/?url=file://" + $myPath + "/" +

    file.gsub(/[^a-zA-Z0-9.-\/]/) { |m| sprintf("%%%02X", m[0]) } +

    ".gtd&line=" + line.to_s

end