Open ghost opened 12 years ago
1.0
Truffles > commands > output does not behave correctly:
it does not respect the fallbackInput conditions e.g. the following command does not replace the $TM_CURRENT_LINE if $TM_SELECTED_TEXT==''
fallbackInput
$TM_CURRENT_LINE
$TM_SELECTED_TEXT==''
(input selection line) (output replace-selected)
(ouput snippet) does not replace the selected text (it works as Insert as Text in TextMate)
(ouput snippet)
Insert as Text
the following command inserts the text instead of replacing the ${TM_SELECTED_TEXT:-$TM_CURRENT_LINE}
${TM_SELECTED_TEXT:-$TM_CURRENT_LINE}
(trigger) (name [Comand Name]) (input selection line) (output snippet) (script [echo "<command-output>"])
updated version to 1.0
Version:
1.0
Issue:
Truffles > commands > output does not behave correctly:
it does not respect the
fallbackInput
conditions e.g. the following command does not replace the$TM_CURRENT_LINE
if$TM_SELECTED_TEXT==''
(ouput snippet)
does not replace the selected text (it works asInsert as Text
in TextMate)How to reproduce:
the following command inserts the text instead of replacing the
${TM_SELECTED_TEXT:-$TM_CURRENT_LINE}
Dupes:
530, #536, #920