Can someone reproduce this behaviour?
Summary: The command option "caret placement": "select output" does not work, but behaves as "caret placement": "place after output".
Steps to reproduce: 1. Open a bundle in the editor 2. Create a new command 3. Retain the default code and settings: Code: echo "Hello world\n" Input: Selection - Text Output: Replace Input - Text Caret Placement - Select Output 4. Add a key equivalent 5. Save and open a blank text window 6. Press the chosen key equivalent
Expected result: The text "Hello world" placed and selected
Actual result: The text "Hello world" placed, no selection. Caret positioned after the inserted text.
TextMate version: 2.0.0-alpha.9323
How do I accomplish the desired result, that the output of a command is selected?
Thanks, Freek
On Nov 16, 2012, at 5:16 PM, Freek Dijkstra public@macfreek.nl wrote:
[…] How do I accomplish the desired result, that the output of a command is selected?
This will be fixed/implemented starting with next build.
For posterity, we used to set the output format to ‘snippet’ and wrap the output in ${0:…} to insert it as selected.