Re: Edit both start and closing HTML tags at once?

2011-08-24 Thread Robert A. Rosenberg
At 09:42 -0700 on 08/23/2011, Watts Martin wrote about Re: Edit both start and closing HTML tags at once?: I do suspect one could replicate this functionality in an AppleScript, though -- find the tag containing the insertion point, perhaps by searching backward for the and then forward

Re: Edit both start and closing HTML tags at once?

2011-08-24 Thread Tudor
On 24 aug., 07:29, Robert A. Rosenberg rar...@banet.net wrote: Even worse is with HTML (as opposed to XHTML) where the closing tag is optional (ie: /P tags are optional so unless you always use them, they are not always there to find since the next P implicitly closed the prior one). Maybe.

Re: Edit both start and closing HTML tags at once?

2011-08-24 Thread Robert A. Rosenberg
At 09:37 -0700 on 08/24/2011, Tudor wrote about Re: Edit both start and closing HTML tags at once?: On 24 aug., 07:29, Robert A. Rosenberg rar...@banet.net wrote: Even worse is with HTML (as opposed to XHTML) where the closing tag is optional (ie: /P tags are optional so unless you always

Re: Edit both start and closing HTML tags at once?

2011-08-23 Thread Tudor
On 23 aug., 03:49, Kerri Hicks kerri.hi...@gmail.com wrote: I would do it by...(all keystrokes are mine, and are probably not defaults) Highlighting the line (cmd-L) Remove Markup (under Markup Utilities) (cmd-shift-X) Use the Clipping for div_class (cmd-shift-D) --Kerri Yes, I tried

Re: Edit both start and closing HTML tags at once?

2011-08-23 Thread Christopher Stone
On Aug 22, 2011, at 14:03, Tudor wrote: Search and replace is OK if I want to modify many tags at once, but for editing a single tag is overkill. __ That depends. :) -- Best Regards, Chris

Re: Edit both start and closing HTML tags at once?

2011-08-23 Thread Watts Martin
Tudor wrote: I still think the Edit Markup command would be the perfect tool for editing tags the way I described earlier, and if someone from BBEdit reads this thread, please consider this as a feature request. You should strongly considering submitting this as, you know, a feature request.

Re: Edit both start and closing HTML tags at once?

2011-08-23 Thread Watts Martin
Bucky Junior wrote: And nested tags would be a challenge too. Actually, you can call Balance Tags from AppleScript, can't you? Maybe that would be the start of working this. Hmm. -- Watts Martin lay...@gmail.com -- You received this message because you are subscribed to the BBEdit Talk

Edit both start and closing HTML tags at once?

2011-08-22 Thread Tudor
Hi, I am new to BBedit, testing the demo version currently. I was wondering if it's possible to edit both start and closing HTML tags at once, for example transforming something like p class=fooLorem ipsum/p into div class=fooLorem ipsum/div. Any ideas? This would be a useful addition

Re: Edit both start and closing HTML tags at once?

2011-08-22 Thread Tudor
; }  On Mon 11/08/22 13:04 , Tudor  wrote:  Hi, I am new to BBedit, testing the demo version currently.  I was wondering if it's possible to edit both start and closing HTML  tags at once, for example transforming something like  Lorem ipsum  into  Lorem ipsum.  Any ideas? This would be a useful

Re: Edit both start and closing HTML tags at once?

2011-08-22 Thread Kerri Hicks
On Aug 22, 1:04 pm, Tudor tmvede...@gmail.com wrote: Hi, I am new to BBedit, testing the demo version currently. I was wondering if it's possible to edit both start and closing HTML tags at once, for example transforming something like p class=fooLorem ipsum/p into div class=fooLorem