             @hide_suggestion_and_description()
             return false
 
-        if state.options.electric_punctuation is true
+        if dataexplorer_state.options.electric_punctuation is true
             @pair_char(event, stack) # Pair brackets/quotes
 
         # We just look at key up so we don't fire the call 3 times

    abort_query: =>
        @disable_toggle_executing = false
        @toggle_executing false
        state.query_result?.force_end_gracefully()
        @driver_handler.close_connection()

    # Function that execute the queries in a synchronous way.

                if that.state is 'visible'
                    that.container.adjust_collapsible_panel_height
                        is_at_bottom: is_at_bottom
        else if that.state is 'visible'
            @container.adjust_collapsible_panel_height
                delay_scroll: true
                is_at_bottom: is_at_bottom
