Thanks a lot for this ! I tried many examples from the original
article and it seems to be OK ... but, as someone else mentioned, it
lacks autocompletion and the position of the cursor after the
expansion.

Thanks again

On 23 nov, 06:48, Charlie Garrison <[email protected]> wrote:
> Good afternoon,
>
> On 22/11/09 at 5:35 PM +0100, Jean-Michel Mermet
>
> <[email protected]> wrote:
> >I'm very interested by the following article : "Zen Coding: A Speedy Way To
> >Write HTML/CSS Code" at
> >http://www.smashingmagazine.com/2009/11/21/zen-coding-a-new-way-to-wr...
> >I see no BBEdit version. Do you think our favorite text processor is
> >powerful enough to have such a wonderful add-on ???
>
> Of course it is. The attached is more a proof of concept, I
> don't know python well enough to finish it off. I've taken the
> TextMate Zen Coding plugin as a starting point. (There could be
> copyright/licensing issues with me sharing code here, but I
> couldn't see anything obvious.) Hopefully some of the Python
> folks can polish off the script. Right now it requires the
> abbreviation to be selected, and the script is triggered as a
> Unix Filter from BBEdit.
>
> I'd like to see the script extended to work more like the good
> ole BBAutoComplete which would find the 'just typed' text and
> replace it. Any python coders keen to do that. I would think the
> script could switch from being Unix Filter to an AppleScript so
> the selection can be munged.
>
> Anyway, the idea of Zen Coding is intriguing enough to me that I
> had to see it working in BBEdit.
>
> Enjoy. Install the attached in your BBEdit Unix Filters, assign
> a key shortcut and start some zen coding.
>
> Charlie
>
> --
>     Ꮚ Charlie Garrison ♊ <[email protected]>
>     〠 PO Box 141, Windsor, NSW 2756, Australia
>
> O< ascii ribbon campaign - stop html mail 
> -www.asciiribbon.orghttp://www.ietf.org/rfc/rfc1855.txt
>
>  zencoding.zip
> 17KAfficherTélécharger

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

Reply via email to