コード例 #1
0
ファイル: sublime.py プロジェクト: ronnyzxr/aml
 def viewport_extent(self):
     """ Returns the width and height of the viewport, in layout coordinates """
     return sublime_api.view_viewport_extents(self.view_id)
コード例 #2
0
 def viewport_extent(self):
     """ Returns the width and height of the viewport, in layout coordinates """
     return sublime_api.view_viewport_extents(self.view_id)