class Byebug::EditCommand
def location(matched)
def location(matched) if matched.nil? file = frame.file return errmsg(pr("edit.errors.state")) unless file line = frame.line elsif (@pos_match = /([^:]+)[:]([0-9]+)/.match(matched)) file, line = @pos_match.captures else file = matched line = nil end [File.expand_path(file), line] end