Skip to content

This script allows you to get a little more information about the state of Sublime Text 2

Notifications You must be signed in to change notification settings

reu-res/ST2Assistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

#Sublime Text 2 Assistant

This script allows you to get a little more information about the state of Sublime Text 2, you can use when writing their own plugins.

##Installation Copy ST2Assistant.py to your package directory.

##Usage

import ST2Assistant
...
assistant = ST2Assistant.Assistant()
if assistant.is_side_bar_visible():
    print 'Side bar is visible'
else:
    print 'Side bar is hidden'

##List of functions

  • is_portable() - return True if installed as portable, False if not
  • is_minimap_visible() - return True if mini map is visible, False if not
  • is_status_bar_visible() - return True if status bar is visible, False if not
  • is_side_bar_visible() - return True if side bar is visible, False if not

About

This script allows you to get a little more information about the state of Sublime Text 2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages