On 12/01/2011, at 12:32 PM, mhulse wrote:

> On Jan 11, 4:59 pm, mhulse <[email protected]> wrote:
>> When I am working via a CSS doc, BBEdit will auto-fill/suggest CSS
>> properties, but not values. The closest BBEdit comes to suggesting
>> anything is this:
>> <##>
> 
> I guess I should give BBEdit some credit... It does suggest some
> values... But most of the time I find myself wishing I was using DW
> for the auto-fill/hinting. :D
> 
> For example, when typing "background-repeat" property, and trying to
> give it a value of "no-repeat", here is what BBEdit suggests:
> 
> http://sandbox.hulse.me/bbedit.png
> 
> Not sure why it does not suggest no-repeat? Maybe the dash throws it
> off?
> 
> Seems like this part of BBEdit could be improved.
> 
> Don't get me wrong, I love BBEdit, and I use it as my primary coding
> app... I am just hoping there are some options I can configure/turn on
> to make my coding experience better/faster. :)
> 
> Tips would be appreciated.
> 
> Thanks!
> Micky


Hi Micky,

for tagging the selected text, I use this AppleScript.  It live's in BBEdit's 
Application Support/Scripts and I've given it the keyboard shortcut of 
Shift-Command-t

-- script

tell application "BBEdit"
        
        
        set theText to selection
        
        set d to display dialog "Enter the tag" default answer ""
        set theTag to text returned of d
        set theText to "<" & theTag & ">" & return & theText & return & "</" & 
theTag & ">"
        set selection to theText
        
end tell

-- end script

Ron



-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
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 feature request or would like to report a problem, 
please email "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

Reply via email to