             @.$('.suggestion_name_list').html ''
 
             query_lines = @codemirror.getValue().split '\n'
+
             # Get query before the cursor
             query_before_cursor = ''
             if @codemirror.getCursor().line > 0

                        return false

                    return true
                if event.which is 13 and (event.shiftKey or event.ctrlKey)
                    event.preventDefault()
                    if event.type isnt 'keydown'
                        return true

            @unsafe_to_safe_regexstr.push
                pattern: /\}/g
                replacement: '\\}'

            @input_query = new DataExplorerView.InputQuery
            @data_container = new DataExplorerView.DataContainer
