             @show_or_hide_arrow()
 
         show_suggestion_description: =>
-            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_description').css 'display', 'block'

            
        add_description: (fn) =>
            if @descriptions[fn]?
                margin = ((@codemirror.getCursor().line+1+@compute_extra_lines())*@line_height) + 'px'
                @.$('.suggestion_full_container').css 'margin-top', margin
                @.$('.arrow').css 'margin-top', margin


            else
                @num_char_per_line = @default_num_char_per_line

        move_suggestion: =>

            margin_left = parseInt(@.$('.CodeMirror-cursor').css('left').replace('px', ''))+27

            @.$('.arrow').css 'margin-left', margin_left

            if margin_left < 200
