chromium_x_refs.py 文件源码

python
阅读 19 收藏 0 点赞 0 评论 0

项目:ChromiumXRefs 作者: karlinjf 项目源码 文件源码
def goToLocation(cmd, src_path, caller, view):
  line = caller['line'];
  path = src_path + caller['filename']

  # Open the file and jump to the line
  new_view = view.window().open_file(path + ":%d:0" % line, sublime.ENCODED_POSITION)
  if new_view.is_loading():
    global g_open_callbacks_on_load
    g_open_callbacks_on_load[path] = lambda: finishGoingToLocation(caller, new_view)
    return

  finishGoingToLocation(caller, new_view)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号