                         return false
 
                     return true
-                if event.which is 13 and (event.shiftKey or event.ctrlKey)
+                if event.which is 13 and (event.shiftKey or event.ctrlKey) #Ctrl or shift + enter
                     event.preventDefault()
                     if event.type isnt 'keydown'
                         return true


            return false
        
        extract_current_function: (query) =>
            #TODO Handle string
            start = query.lastIndexOf '.'
            if start is -1
                s = query
            else
                s = query.slice start+1

            end = s.indexOf '('
            if end is -1
                return s
            else
                return s.slice 0, end
 
        extract_last_function: (query) =>
            start = 0
            count_dot = 0

            @.$('.suggestion_name_list').html ''

            query_lines = @codemirror.getValue().split '\n'

            # Get query before the cursor
            query_before_cursor = ''
            if @codemirror.getCursor().line > 0
