                             start_line_index = 0
                         else
                             start_line_index += 1
-                        position = (@query_first_part + @current_completed_query + @current_suggestions[@current_highlighted_suggestion]).length - start_line_index 
+                        position = (@query_first_part + @current_completed_query + @current_suggestions[@current_highlighted_suggestion]).length - start_line_index
                         @position_cursor
                             line: saved_cursor.line
                             ch: position

                            return false

                    return true

                # If the user hit enter and (Ctrl or Shift)
                if event.which is 13 and (event.shiftKey or event.ctrlKey)
                    @hide_suggestion()
                    event.preventDefault()
                    if event.type isnt 'keydown'
                        return true
                    @show_or_hide_arrow()
                    @execute_query()
            
            # We just look at key up so we don't fire the call 3 times
            if event?.type? and event.type isnt 'keyup' or (event?.which? and event.which is 16) # We don't do anything for shift
                return false

            DataExplorerView.Container.prototype.saved_query = @codemirror.getValue()
            saved_cursor = @codemirror.getCursor()
            if event?.which?
                if event.which is 27 # Esc
                    @hide_suggestion()
                    return true
                else if event.which is 9 # If the user hit tab, we switch the highlighted suggestion
                    event.preventDefault()
                    if event.type isnt 'keydown'
                        return true
