From 326719b1b41bfb79ba9fa4f2f5b0698083b4f268 Mon Sep 17 00:00:00 2001 From: bmkessler Date: Tue, 28 Oct 2014 11:10:39 -0700 Subject: [PATCH] Update ConsoleLogic.jl Converted range.len to length(range) range has no len field, only start and stop so length(range) is appropriate to get the length --- share/julia-studio/Console/ConsoleLogic.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 )