[TxMt] Textmate bundle command delay

bean22 mandellb at gmail.com
Tue Oct 6 13:55:25 UTC 2009


Hi,

Recently I wrote a bundle command to paste the selected TM text to a
terminal window.

Was working fine for few weeks, but then suddenly there was a lag of 2-3
seconds between when i launched the command (via bundles menu or keyboard
shortcut) and when it got around to pasting the text. Kind of irritating. 

THoughts?


---------------

rawText="$(cat | sed 's/	/ /g;')"

# send the code to the Terminal
osascript -e 'on run(theCode)' \
           -e '  tell application "Terminal"' \
           -e '    do script theCode in window 1' \
           -e '  end tell' \
		  -e 'end run' -- "$rawText"
-- 
View this message in context: http://www.nabble.com/Textmate-bundle-command-delay-tp25769214p25769214.html
Sent from the textmate users mailing list archive at Nabble.com.




More information about the textmate mailing list