       r
     (awhen (find-buffer-visiting filepath)
       (with-current-buffer it
-        (let ((start-pos (ycmd--col-line-to-position
-                          start-column-num
-                          start-line-num))
-              (end-pos (ycmd--col-line-to-position
-                        end-column-num
-                        end-line-num))
-              (btype (assoc-default kind ycmd--file-ready-buttons)))
+        (let* ((start-pos (ycmd--line-start-position line-num))
+               (end-pos (ycmd--line-end-position line-num))
+               (btype (assoc-default kind ycmd--file-ready-buttons)))
           (when btype
             (with-silent-modifications
               (ycmd--make-button

  '(("ERROR" . ycmd--error-button)
    ("WARNING" . ycmd--warning-button))
  "A mapping from parse 'kind' to button types.")

(defun ycmd--decorate-single-parse-result (r)
  "Decorates a buffer based on the contents of a single parse

        ))))

(defun ycmd-display-file-parse-results ()
  "Request file-parse results and display them in a buffer.

This is primarily a debug/developer tool."
  (interactive)
  (deferred:$
    (ycmd-notify-file-ready-to-parse)
