sublimehq/Vintage — Issue #75: Some text objects don't work inside of strings
Author: AdleyEskridge
Created: 2012-03-04 18:14:01+00:00
State: open

When the current file's syntax is set to a language that contains strings, the `[`, `(`, and `{` text objects don't work inside of them—specifically, they only act on the single character under the cursor. By "strings", I mean text inside of single quotes, double quotes, and regex patterns.

Interestingly, the `"` and `'` still work, even when nested inside of another quote.

This isn't directly related to the issue, but where is the method `has_non_empty_selection_region` documented? I've checked [the API](http://www.sublimetext.com/docs/2/api_reference.html), and I don't see anything there. A [Google search for "def has_non_empty_selection_region"](https://www.google.com/#hl=en&output=search&sclient=psy-ab&q=%22def+has_non_empty_selection_region%22) returns only [this] (https://gist.github.com/1109445). It is used extensively by this plugin, and the code path for the above-mentioned text objects calls it.