anchor.diff:            comment.text = comment.username + ": " + comment.text
           })
   
  -        commentitor.getSession().setAnnotations(response)
  +        editor.getSession().setAnnotations(response)
   
  -        //$('.ace_gutter-layer').data('container', '.ui-front')
  -        $('.ace_gutter-cell').popover({
  +        $(editor.container).find('.ace_gutter-cell').popover({
             title: 'Add a comment',
             html: true,
             content: inputHtml,
             position: 'right',
             trigger: 'focus click'
           }).on('shown.bs.popover', function() {
  -          $('#commentInput').focus()
  -          $('#submitComment').click(addComment);
  -          console.log($(this).text())
  -          $('#commentInput').data('line', $(this).text())
  +          $('#commentInput' + fileid).focus()
  +          $('#submitComment' + fileid).click(_.partial(addComment, editor, fileid));
  +          $('#commentInput' + fileid).data('line', $(this).text())
           })
         })
       }
   
  -    function addComment() {
  -      var commentInput = $('#commentInput');
  +    function addComment(editor, fileid) {
  +      var commentInput = $('#commentInput' + fileid);
         var comment = commentInput.val()
  -      var line = $('#commentInput').data('line')
  +      var line = $('#commentInput' + fileid).data('line')
   
         if (line == '' || comment == '') {
           return
  
positive.code:   <h4 class="list-group-item-heading"><%= Exercise.find(@request_for_comment.exercise_id) %></h4>
    <p class="list-group-item-text">
        <%
  
             user = @request_for_comment.user
  
        %>
      <%= user %> | <%= @request_for_comment.requested_at %>
    </p>
  
negative.code: <style>
    #commentitor, .ace_gutter, .ace_gutter-layer { overflow: visible }
    .popover { width: 400px; max-width: none; }
  </style>
  