I poked around the bundle editor in textmate and came up with this:

#!/bin/sh
# Open the current file in BBEdit
bbedit +$TM_LINE_NUMBER $TM_FILEPATH

I saved it as a command with settings (top to bottom)
Save: Current File
Input: Entire Document
Output: Discard
Key Equivalent: my shortcut key
selector: source.php (means it only works in php files)

It opens the file at with the line number you were working on selected
(copied that from above)

Thanks again to everyone for all the help with this.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "BBEdit Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a specific feature request or would like to report a suspected (or 
confirmed) problem with the software, please email to "[EMAIL PROTECTED]" 
rather than posting to the group.
-~----------~----~----~----~------~----~------~--~---

Reply via email to