code: function convertPositions(deferred, editorContext, item, proposal) {
  		editorContext.getLineStart(item.textEdit.range.start.line).then(function(startLineOffset) {
  			var completionOffset = item.textEdit.range.start.character + startLineOffset;
  			for (var i = 0; i < proposal.positions.length; i++) {
  				proposal.positions[i].offset = completionOffset + proposal.positions[i].offset;
  			}
  			proposal.escapePosition = completionOffset + proposal.escapePosition;
  			deferred.resolve(proposal);
  		});
  	}
docs: Converts the linked mode and escape positional offsets of this
  proposal to the full offset within the document.
  
  @param {Deferred} deferred the promise for resolving the converted proposal
  @param editorContext the current context of the editor
  @param item the converted JSON item from the LSP
  @param proposal the proposal to have its linked mode and escape positions converted