code: function GetColumnNumber(message) {
    var script = %MessageGetScript(message);
    var start_position = %MessageGetStartPosition(message);
    var location = script.locationFromPosition(start_position, true);
    if (location == null) return -1;
    return location.column;
  }
docs: Returns the offset of the given position within the containing line.