Created
June 5, 2012 19:28
-
-
Save jotson/2877197 to your computer and use it in GitHub Desktop.
Sublime Text Python command to get scope at cursor position (for theme writing)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Run this in the Python console (Ctrl+`): | |
sublime.active_window().active_view().scope_name(sublime.active_window().active_view().sel()[0].a) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment