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" wrote: Even worse is with HTML (as opposed to XHTML) where the closing tag is optional (ie: tags are optional so unless you always use

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

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

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

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 -- You received this message because you are subscribed to the "BBEdit Talk" discussion gro

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

2011-08-23 Thread Bucky Junior
On Aug 23, 2011, at 10:42 AM, Watts Martin wrote: > 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 stron

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 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 Tudor
On 23 aug., 03:49, Kerri Hicks 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 this, but it's sti

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

2011-08-22 Thread Kerri Hicks
On Aug 22, 1:04 pm, 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. > &

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

2011-08-22 Thread Tudor
e:12px; } >  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 ipsu

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

2011-08-22 Thread golem
This would be done with GREP search and replace within BBE. BODY { font-family:Arial, Helvetica, sans-serif;font-size:12px; } 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

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 Lorem ipsum into Lorem ipsum. Any ideas? This would be a useful addition to the Edit Markup command, whic