├── .travis.yml ├── Default.sublime-commands ├── ExpandRegion.py ├── ExpandRegion.sublime-settings ├── ExpandRegionFallback.sublime-settings ├── LICENSE.md ├── Main.sublime-menu ├── README.md ├── __init__.py ├── expand_region_handler.py ├── expand_to_indent.py ├── expand_to_line.py ├── expand_to_quotes.py ├── expand_to_regex_set.py ├── expand_to_semantic_unit.py ├── expand_to_subword.py ├── expand_to_symbols.py ├── expand_to_word.py ├── expand_to_word_with_dots.py ├── expand_to_xml_node.py ├── html.py ├── javascript.py ├── latex.py ├── messages.json ├── messages ├── install.txt ├── v0.4.0.txt ├── v0.5.0.txt └── v1.0.0.txt ├── python.py ├── test ├── __init__.py ├── integration_html.py ├── integration_javascript.py ├── integration_latex.py ├── integration_python.py ├── snippets │ ├── html_01.txt │ ├── integration_01.txt │ ├── integration_02.txt │ ├── integration_03.txt │ ├── integration_04.txt │ ├── latex_01.txt │ ├── latex_02.txt │ ├── line_01.txt │ ├── line_02.txt │ ├── linebreak_01.txt │ ├── python_01.txt │ ├── python_02.txt │ ├── quote_01.txt │ ├── quote_02.txt │ ├── quote_03.txt │ ├── semantic_unit_01.txt │ ├── semantic_unit_02.txt │ ├── semantic_unit_03.txt │ ├── semantic_unit_04.txt │ ├── semantic_unit_05.txt │ ├── semantic_unit_06.txt │ ├── semantic_unit_07.txt │ ├── semantic_unit_08.txt │ ├── semantic_unit_09.txt │ ├── symbol_01.txt │ ├── symbol_02.txt │ ├── symbol_03.txt │ ├── trim_01.txt │ ├── trim_02.txt │ ├── word_01.txt │ ├── word_02.txt │ └── word_03.txt ├── test.py ├── undo_redo.py ├── units_expand_to_line.py ├── units_expand_to_quotes.py ├── units_expand_to_semantic_unit.py ├── units_expand_to_symbol.py ├── units_expand_to_word.py ├── units_expand_to_word_with_dots.py ├── units_utils.py └── units_xml_helper.py └── utils.py /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aronwoost/sublime-expand-region/HEAD/.travis.yml -------------------------------------------------------------------------------- /Default.sublime-commands: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aronwoost/sublime-expand-region/HEAD/Default.sublime-commands -------------------------------------------------------------------------------- /ExpandRegion.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aronwoost/sublime-expand-region/HEAD/ExpandRegion.py -------------------------------------------------------------------------------- /ExpandRegion.sublime-settings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aronwoost/sublime-expand-region/HEAD/ExpandRegion.sublime-settings -------------------------------------------------------------------------------- /ExpandRegionFallback.sublime-settings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aronwoost/sublime-expand-region/HEAD/ExpandRegionFallback.sublime-settings -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aronwoost/sublime-expand-region/HEAD/LICENSE.md -------------------------------------------------------------------------------- /Main.sublime-menu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aronwoost/sublime-expand-region/HEAD/Main.sublime-menu -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aronwoost/sublime-expand-region/HEAD/README.md -------------------------------------------------------------------------------- /__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /expand_region_handler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aronwoost/sublime-expand-region/HEAD/expand_region_handler.py -------------------------------------------------------------------------------- /expand_to_indent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aronwoost/sublime-expand-region/HEAD/expand_to_indent.py -------------------------------------------------------------------------------- /expand_to_line.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aronwoost/sublime-expand-region/HEAD/expand_to_line.py -------------------------------------------------------------------------------- /expand_to_quotes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aronwoost/sublime-expand-region/HEAD/expand_to_quotes.py -------------------------------------------------------------------------------- /expand_to_regex_set.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aronwoost/sublime-expand-region/HEAD/expand_to_regex_set.py -------------------------------------------------------------------------------- /expand_to_semantic_unit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aronwoost/sublime-expand-region/HEAD/expand_to_semantic_unit.py -------------------------------------------------------------------------------- /expand_to_subword.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aronwoost/sublime-expand-region/HEAD/expand_to_subword.py -------------------------------------------------------------------------------- /expand_to_symbols.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aronwoost/sublime-expand-region/HEAD/expand_to_symbols.py -------------------------------------------------------------------------------- /expand_to_word.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aronwoost/sublime-expand-region/HEAD/expand_to_word.py -------------------------------------------------------------------------------- /expand_to_word_with_dots.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aronwoost/sublime-expand-region/HEAD/expand_to_word_with_dots.py -------------------------------------------------------------------------------- /expand_to_xml_node.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aronwoost/sublime-expand-region/HEAD/expand_to_xml_node.py -------------------------------------------------------------------------------- /html.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aronwoost/sublime-expand-region/HEAD/html.py -------------------------------------------------------------------------------- /javascript.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aronwoost/sublime-expand-region/HEAD/javascript.py -------------------------------------------------------------------------------- /latex.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aronwoost/sublime-expand-region/HEAD/latex.py -------------------------------------------------------------------------------- /messages.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aronwoost/sublime-expand-region/HEAD/messages.json -------------------------------------------------------------------------------- /messages/install.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aronwoost/sublime-expand-region/HEAD/messages/install.txt -------------------------------------------------------------------------------- /messages/v0.4.0.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aronwoost/sublime-expand-region/HEAD/messages/v0.4.0.txt -------------------------------------------------------------------------------- /messages/v0.5.0.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aronwoost/sublime-expand-region/HEAD/messages/v0.5.0.txt -------------------------------------------------------------------------------- /messages/v1.0.0.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aronwoost/sublime-expand-region/HEAD/messages/v1.0.0.txt -------------------------------------------------------------------------------- /python.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aronwoost/sublime-expand-region/HEAD/python.py -------------------------------------------------------------------------------- /test/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/integration_html.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aronwoost/sublime-expand-region/HEAD/test/integration_html.py -------------------------------------------------------------------------------- /test/integration_javascript.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aronwoost/sublime-expand-region/HEAD/test/integration_javascript.py -------------------------------------------------------------------------------- /test/integration_latex.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aronwoost/sublime-expand-region/HEAD/test/integration_latex.py -------------------------------------------------------------------------------- /test/integration_python.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aronwoost/sublime-expand-region/HEAD/test/integration_python.py -------------------------------------------------------------------------------- /test/snippets/html_01.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aronwoost/sublime-expand-region/HEAD/test/snippets/html_01.txt -------------------------------------------------------------------------------- /test/snippets/integration_01.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aronwoost/sublime-expand-region/HEAD/test/snippets/integration_01.txt -------------------------------------------------------------------------------- /test/snippets/integration_02.txt: -------------------------------------------------------------------------------- 1 | " foo.bar " -------------------------------------------------------------------------------- /test/snippets/integration_03.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aronwoost/sublime-expand-region/HEAD/test/snippets/integration_03.txt -------------------------------------------------------------------------------- /test/snippets/integration_04.txt: -------------------------------------------------------------------------------- 1 | function() { 2 | return "test [(with symbols) in] strings"; 3 | } -------------------------------------------------------------------------------- /test/snippets/latex_01.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aronwoost/sublime-expand-region/HEAD/test/snippets/latex_01.txt -------------------------------------------------------------------------------- /test/snippets/latex_02.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aronwoost/sublime-expand-region/HEAD/test/snippets/latex_02.txt -------------------------------------------------------------------------------- /test/snippets/line_01.txt: -------------------------------------------------------------------------------- 1 | hello 2 | is it me 3 | you're looking for -------------------------------------------------------------------------------- /test/snippets/line_02.txt: -------------------------------------------------------------------------------- 1 | hello 2 | is it me 3 | you're looking for -------------------------------------------------------------------------------- /test/snippets/linebreak_01.txt: -------------------------------------------------------------------------------- 1 | hello 2 | is it me 3 | you're looking for -------------------------------------------------------------------------------- /test/snippets/python_01.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aronwoost/sublime-expand-region/HEAD/test/snippets/python_01.txt -------------------------------------------------------------------------------- /test/snippets/python_02.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aronwoost/sublime-expand-region/HEAD/test/snippets/python_02.txt -------------------------------------------------------------------------------- /test/snippets/quote_01.txt: -------------------------------------------------------------------------------- 1 | "test string" -------------------------------------------------------------------------------- /test/snippets/quote_02.txt: -------------------------------------------------------------------------------- 1 | 'test string' -------------------------------------------------------------------------------- /test/snippets/quote_03.txt: -------------------------------------------------------------------------------- 1 | "test\"string" -------------------------------------------------------------------------------- /test/snippets/semantic_unit_01.txt: -------------------------------------------------------------------------------- 1 | test(foo.bar['property'].getX(), true) -------------------------------------------------------------------------------- /test/snippets/semantic_unit_02.txt: -------------------------------------------------------------------------------- 1 | test(foo.bar['prop,erty'].getX(), true) -------------------------------------------------------------------------------- /test/snippets/semantic_unit_03.txt: -------------------------------------------------------------------------------- 1 | test(true, foo.bar['property'].getX()) -------------------------------------------------------------------------------- /test/snippets/semantic_unit_04.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aronwoost/sublime-expand-region/HEAD/test/snippets/semantic_unit_04.txt -------------------------------------------------------------------------------- /test/snippets/semantic_unit_05.txt: -------------------------------------------------------------------------------- 1 | foo = o.getData("bar"); -------------------------------------------------------------------------------- /test/snippets/semantic_unit_06.txt: -------------------------------------------------------------------------------- 1 | if() { 2 | return "foo"; 3 | } -------------------------------------------------------------------------------- /test/snippets/semantic_unit_07.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aronwoost/sublime-expand-region/HEAD/test/snippets/semantic_unit_07.txt -------------------------------------------------------------------------------- /test/snippets/semantic_unit_08.txt: -------------------------------------------------------------------------------- 1 | if(foo || bar) { 2 | 3 | } -------------------------------------------------------------------------------- /test/snippets/semantic_unit_09.txt: -------------------------------------------------------------------------------- 1 | if(foo || bar) { 2 | } 3 | 4 | var a = "b"; -------------------------------------------------------------------------------- /test/snippets/symbol_01.txt: -------------------------------------------------------------------------------- 1 | (foo - bar) -------------------------------------------------------------------------------- /test/snippets/symbol_02.txt: -------------------------------------------------------------------------------- 1 | console.log(foo.indexOf('bar') > -1); -------------------------------------------------------------------------------- /test/snippets/symbol_03.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aronwoost/sublime-expand-region/HEAD/test/snippets/symbol_03.txt -------------------------------------------------------------------------------- /test/snippets/trim_01.txt: -------------------------------------------------------------------------------- 1 | hel lo -------------------------------------------------------------------------------- /test/snippets/trim_02.txt: -------------------------------------------------------------------------------- 1 | test(_getData(function() { 2 | return "foo"; 3 | })) -------------------------------------------------------------------------------- /test/snippets/word_01.txt: -------------------------------------------------------------------------------- 1 | ("foo bar") -------------------------------------------------------------------------------- /test/snippets/word_02.txt: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /test/snippets/word_03.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aronwoost/sublime-expand-region/HEAD/test/snippets/word_03.txt -------------------------------------------------------------------------------- /test/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aronwoost/sublime-expand-region/HEAD/test/test.py -------------------------------------------------------------------------------- /test/undo_redo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aronwoost/sublime-expand-region/HEAD/test/undo_redo.py -------------------------------------------------------------------------------- /test/units_expand_to_line.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aronwoost/sublime-expand-region/HEAD/test/units_expand_to_line.py -------------------------------------------------------------------------------- /test/units_expand_to_quotes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aronwoost/sublime-expand-region/HEAD/test/units_expand_to_quotes.py -------------------------------------------------------------------------------- /test/units_expand_to_semantic_unit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aronwoost/sublime-expand-region/HEAD/test/units_expand_to_semantic_unit.py -------------------------------------------------------------------------------- /test/units_expand_to_symbol.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aronwoost/sublime-expand-region/HEAD/test/units_expand_to_symbol.py -------------------------------------------------------------------------------- /test/units_expand_to_word.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aronwoost/sublime-expand-region/HEAD/test/units_expand_to_word.py -------------------------------------------------------------------------------- /test/units_expand_to_word_with_dots.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aronwoost/sublime-expand-region/HEAD/test/units_expand_to_word_with_dots.py -------------------------------------------------------------------------------- /test/units_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aronwoost/sublime-expand-region/HEAD/test/units_utils.py -------------------------------------------------------------------------------- /test/units_xml_helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aronwoost/sublime-expand-region/HEAD/test/units_xml_helper.py -------------------------------------------------------------------------------- /utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aronwoost/sublime-expand-region/HEAD/utils.py --------------------------------------------------------------------------------