diff --git a/share/julia-studio/Console/ConsoleLogic.jl b/share/julia-studio/Console/ConsoleLogic.jl index 3335ac66b2..bc1fbda933 100644 --- a/share/julia-studio/Console/ConsoleLogic.jl +++ b/share/julia-studio/Console/ConsoleLogic.jl @@ -207,7 +207,7 @@ function on_complete_msg( console::ConsoleLogicSystem, cid, prefix ) event_system = get_system(Event.EventSystem) result, range = completions( prefix, length( prefix ) ) - Event.new_event( event_system, "networkOut", cid, "output-complete", [ [ string( range.start ), string( range.len ) ], result ] ) + Event.new_event( event_system, "networkOut", cid, "output-complete", [ [ string( range.start ), string( length(range) ) ], result ] ) end function on_watch_msg( console::ConsoleLogicSystem, cid, command )