How does it work?
This tool extends your text selection based on different modes. First select some text, then choose an extension mode and click "Extend Selection".
Extension Modes
- Word boundaries: Extends selection to include complete words at both ends.
- Line boundaries: Extends selection to include complete lines.
- Paragraph boundaries: Extends selection to include complete paragraphs.
- Enclosing quotes: Extends selection to text between the nearest enclosing quotes (', ", or `).
- Enclosing brackets/parentheses: Extends selection to text between the nearest enclosing brackets, parentheses, braces, or angle brackets.
- Enclosing HTML/XML tags: Extends selection to include the nearest enclosing HTML or XML tags.
Example Usage
- Select part of a word in the text area
- Choose "Word boundaries" as the extension mode
- Click "Extend Selection"
- The selection will expand to include the entire word
This tool is useful for:
- Quickly selecting structured content
- Precisely selecting code blocks or markup
- Selecting content between matching delimiters
- Improving text editing efficiency
- Working with structured text like HTML, XML, or code
Note:
This tool demonstrates the concept of extending selections in different modes. In a real code editor, these features would be available through keyboard shortcuts or context menus for more efficient text editing.
Related Tools
- Select Occurrences - Find and select all occurrences of a pattern in text
- Grep - Find lines matching a pattern
- Inverted Grep - Find lines not matching a pattern
- Count Words - Count words, characters, and lines in text
- Group and Count - Group similar lines and count occurrences
All Tools
See all available tools