コード例 #1
0
ファイル: sublime.py プロジェクト: ronnyzxr/aml
 def open_file(self, fname, flags = 0):
     """
     valid bits for flags are:
     ENCODED_POSITION: fname name may have :row:col or :row suffix
     TRASIENT: don't add the file to the list of open buffers
     FORCE_GROUP: don't select the file if it's opened in a different group
     """
     return View(sublime_api.window_open_file(self.window_id, fname, flags))
コード例 #2
0
ファイル: sublime.py プロジェクト: JennerChen/mySublimeWork
 def open_file(self, fname, flags = 0, group = -1):
     """
     valid bits for flags are:
     ENCODED_POSITION: fname name may have :row:col or :row suffix
     TRASIENT: don't add the file to the list of open buffers
     FORCE_GROUP: don't select the file if it's opened in a different group
     """
     return View(sublime_api.window_open_file(self.window_id, fname, flags, group))