Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix clicking errors for untitled files

The variable being tested for is not what was actually being set. Perhaps it was changed at some point?
  • Loading branch information...
commit c1073768b282710d8f6c03fa1ae636009ee2c9d1 1 parent 99b4e5e
Allan Odgaard sorbits authored infininight committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  Support/RubyMate/catch_exception.rb
2  Support/RubyMate/catch_exception.rb
View
@@ -21,7 +21,7 @@
file, line, method = $1, $2, $3
url, display_name = '', 'untitled document';
- if file != '-' && File.exists?(file) && !ENV['TM_SCRIPT_IS_UNTITLED'] then
+ if file != '-' && File.exists?(file) && !ENV['TM_FILE_IS_UNTITLED'] then
file = Pathname.new(file).realpath.to_s
url = '&url=file://' + e_url(file)
display_name = File.basename(file)
Please sign in to comment.
Something went wrong with that request. Please try again.