Skip to content

Commit

Permalink
mention methodtable Ctrl+Q trick in methodshow
Browse files Browse the repository at this point in the history
  • Loading branch information
simeonschaub committed Apr 22, 2020
1 parent ac82513 commit c9b0be8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions base/methodshow.jl
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,14 @@ function show_method_table(io::IO, ms::MethodList, max::Int=-1, header::Bool=tru
end
end
end

if isinteractive()
print(
io,
"\n\nTo edit a specific method, type the corresponding number into the " *
"REPL and press Ctrl+Q",
)
end
end

show(io::IO, ms::MethodList) = show_method_table(io, ms)
Expand Down

0 comments on commit c9b0be8

Please sign in to comment.