Skip to content

Commit

Permalink
REPL: run repl hint generation for modeswitch chars when not switching (
Browse files Browse the repository at this point in the history
#56251)

Fixes #56003
  • Loading branch information
IanButterworth authored Oct 20, 2024
1 parent e08280a commit 1fd7ada
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions stdlib/REPL/src/REPL.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1431,6 +1431,7 @@ function setup_interface(
end
else
edit_insert(s, ';')
LineEdit.check_for_hint(s) && LineEdit.refresh_line(s)
end
end,
'?' => function (s::MIState,o...)
Expand All @@ -1441,6 +1442,7 @@ function setup_interface(
end
else
edit_insert(s, '?')
LineEdit.check_for_hint(s) && LineEdit.refresh_line(s)
end
end,
']' => function (s::MIState,o...)
Expand Down Expand Up @@ -1477,6 +1479,7 @@ function setup_interface(
Base.errormonitor(t_replswitch)
else
edit_insert(s, ']')
LineEdit.check_for_hint(s) && LineEdit.refresh_line(s)
end
end,

Expand Down

0 comments on commit 1fd7ada

Please sign in to comment.