Created
October 28, 2013 00:45
-
-
Save danpe/7189722 to your computer and use it in GitHub Desktop.
Sublime Text 3 Contexts
This file contains hidden or 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
Context Operands | |
auto_complete_visible: Returns true if the autocomplete list is visible. | |
has_next_field: Returns true if there’s a next snippet field available. | |
has_prev_field: Returns true if there’s a previous snippet field available. | |
num_selections: Returns the number of selections. | |
overlay_visible: Returns true if any overlay is visible. | |
panel_visible: Returns true if any panel is visible. | |
following_text: Restricts the test to the text following the caret. | |
preceding_text: Restricts the test to the text preceding the caret. | |
selection_empty: Returns true if the selection is an empty region. | |
setting.x: Returns the value of the x setting. x can be any string. | |
text: Restricts the test to the line the caret is in. | |
selector: Returns the current scope. | |
Context Operators | |
equal, not_equal: Test for equality. | |
regex_match, not_regex_match: Match against a regular expression. | |
regex_contains, not_regex_contains: Match against a regular expression (containment). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment