Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Support/RubyMate/run_script.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@
if line =~ /^(\s+)(\S.*?):(\d+)(?::in\s*`(.*?)')?/
indent, file, line, method = $1, $2, $3, $4
url, display_name = '', 'untitled document';
unless file =~ /^\//
file = File.join(ENV['TM_PROJECT_DIRECTORY'], file)
end
unless file == "-"
indent += " " if file.sub!(/^\[/, "")
url = '&url=file://' + e_url(file)
Expand Down