On Aug 3, 2011, at 12:26 PM, Rick Yentzer wrote: > Hey, I like the indenting certain tags in order to format my code a certain > way. > > For instance, > > <div id="name"></div> > > If the insertion point is between the >< I would hit the following keys > before I'm ready to insert my next line of code: > return + tab + return, then move back one line to where the "tab" is. > > <div id="name"> > "tab"Begin code here > </div> > > Is there a way to adjust the default setting for this? If not is there an > applescript that I could trigger with a hotkey to perform these actions for > me?
I think a clipping file with: <CR><TAB>#INSERTION#<CR> (where <CR> expands to a literal return, and <TAB> is a literal tab) would do the trick. Steve -- 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>
