On Aug 29, 2011, at 14:25, mhulse wrote:
> When the command-M window opens, and I type "p", the UI automatically 
> fills-in "pre". I find this rather clunky... I either have to hit the delete 
> key and then hit the return key, or press the down arrow and then press the 
> up arrow to get to the "p" tag selection.
> 
> The same problem occurs with the, for example, "a" tag. Instead of just "a" 
> showing up, "abbr" will appear.
> 
> I use "p" and "a" a lot more than "pre" and "abbr".

______________________________________________________________________

Hey Micky,

I'm just guessing on this one.  There are dedicated menu items for both anchor 
and paragraph, so that may be why the sort in 'markup' is so clearly out of 
order.  (I'm not sure that's a good idea in any case.)

Here's a workaround for you.  Save this script using the Applescript Editor, 
and put it into your scripts folder.  Give it a handy keyboard shortcut like 
Cmd-Shift-K.  It will kill any whitespace between tags.

Give Markup-->Block Elements-->Paragraph... it's own dedicated keyboard 
shortcut.

File an issue with support: Bare Bones Software <[email protected]>

--
Best Regards,
Chris

______________________________________________________________________


tell application "BBEdit"
  try
    tell text of front text document
      balance tags
      delete selection
    end tell
    
  on error errMsg number errNum
    set sep to "=============================="
    set e to sep & return & "Error: " & errMsg & return & sep & return ¬
      & "Error Number: " & errNum & return & sep
    beep
    display dialog e
  end try
end tell

-- 
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