The ability to independently access and modify each individual
selection from inside a command or plugin would make TextMate much more
powerful and life a lot easier for plugin/bundle developers. Things
like 'Expand selection to enclosing HTML/XML tags' or 'Wrap selections
in tag (with multipl
I spent some time playing with making a regular bundle, and I think that I can
make some of the functionality work.
The current (textmate 1) plugin has some functionality that I don't think I
will be able to implement, like selecting matching tags. AFAIK there isn't a
way to update the select
On Jan 28, 2013, at 8:41 PM, Caleb Land wrote:
> […] I can type "table>tr*3>td*3" and hit ^E and it will create a table with
> three rows and three columns.
>
> It works on selections or if the cursor is at the end of the Emmet expression.
>
> How it works
> From what I can tell, when an Emmet
I have some more information about how the plugin works.
Some background
The Emmet plugin is the new name for the ZenCoding plugin. It gives some
utility methods for writing HTML and CSS.
It lets you type a shorthand syntax and then expand it with a keyboard
shortcut. It's kinda like a beefed u
It looks like the plugin needs information about the selection in the editor.
It needs to be able go get the start position/end position and the contents of
the selection
It also needs the "TM_SCOPE" so it can detect what kind of file is being
edited.
Thanks for the help.
-Caleb
On Sunday
On Jan 26, 2013, at 21:43, Caleb Land wrote:
> […] It uses the result to access:
>
> TM_LINE_NUMBER
> TM_LINE_INDEX
Is all you need the position of the caret?
___
textmate-dev mailing list
textmate-dev@lists.macromates.com
http://lists.macromates.com