 
         #TODO refactor show_suggestion, show_suggestion_description, add_description
         show_suggestion: =>
-            margin = ((@codemirror.getCursor().line+1+@compute_extra_lines())*@line_height) + 'px'
+            margin = (parseInt(@.$('.CodeMirror-cursor').css('top').replace('px', ''))+@line_height)+'px'
             @.$('.suggestion_full_container').css 'margin-top', margin
             @.$('.arrow').css 'margin-top', margin
             @.$('.suggestion_name_list').css 'display', 'block'

            @show_or_hide_arrow()

        show_suggestion_description: =>
            margin = ((@codemirror.getCursor().line+1+@compute_extra_lines())*@line_height) + 'px'
            @.$('.suggestion_full_container').css 'margin-top', margin
            @.$('.arrow').css 'margin-top', margin
            @.$('.suggestion_description').css 'display', 'block'

            
        add_description: (fn) =>
            if @descriptions[fn]?
                margin = (parseInt(@.$('.CodeMirror-cursor').css('top').replace('px', ''))+@line_height)+'px'

                @.$('.suggestion_full_container').css 'margin-top', margin
                @.$('.arrow').css 'margin-top', margin

