 Takes a ycmd completion structure SRC,
 extracts the 'insertion_text', attaches other properties to that
 string as text-properties, and returns the string."
-  (let* ((prefix-start-col (or (get-text-property 0 'start-col prefix) (+ 1 (current-column))))
+  (let* ((prefix-start-col (- (+ 1  (current-column)) (length prefix)))
          (prefix-size (- start-col prefix-start-col))
 	 (candidate (concat (substring-no-properties prefix 0 prefix-size)
 			    (substring-no-properties

           (company-ycmd--in-include))
       (or (and (not (ycmd-parsing-in-progress-p))
                (company-grab-symbol-cons "\\.\\|->\\|::" 2))

           'stop)))

(defun company-ycmd--candidates (prefix)

  (looking-back company-ycmd--include-declaration
                (line-beginning-position)))

(defun company-ycmd--prefix ()
  "Prefix-command handler for the company backend."
  (when (ycmd-parsing-in-progress-p)
