From 9f7e2bb9bee16c5d42a6d0ff67490b9bfd993f78 Mon Sep 17 00:00:00 2001 From: Gabriel Baraldi Date: Fri, 11 Aug 2023 16:20:48 -0300 Subject: [PATCH] Add default method for setmodifiers! (#50822) Fixes #50690 (cherry picked from commit 0eb13d70a3ea2419f96fd5db5676db91a54ede32) --- stdlib/REPL/src/REPL.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stdlib/REPL/src/REPL.jl b/stdlib/REPL/src/REPL.jl index 218f89de798c88..efef8f1f9d4590 100644 --- a/stdlib/REPL/src/REPL.jl +++ b/stdlib/REPL/src/REPL.jl @@ -519,6 +519,8 @@ active_module((; mistate)::LineEditREPL) = mistate === nothing ? Main : mistate. active_module(::AbstractREPL) = Main active_module(d::REPLDisplay) = active_module(d.repl) +setmodifiers!(c::CompletionProvider, m::LineEdit.Modifiers) = nothing + setmodifiers!(c::REPLCompletionProvider, m::LineEdit.Modifiers) = c.modifiers = m """