[TxMt] Re: snippet that replaces the current word
Timothy Bates
timothy.c.bates at gmail.com
Tue Sep 23 10:24:13 UTC 2008
Thank you Allan and Hans!
Two questions:
Allan: I added
{ name = 'TM_BOLD_MARKER';
value = '**';
},
to the shellVariables for my language, and reloaded the bundle,. But
taking the key binding off my bold snippet sees cmd-B not inserting
the behavior for html (<strong>), the parent scope of wikiMedia. Is
that supposed to suppressed for variables found in the shellVariable
list?
Also, (as I can't get it operating), does the unified system handle
unmarking already marked selections, and grabbing the currentWord when
there is no selection?
On 23 Sep 2008, at 8:55 AM, Hans-Jörg Bibiko wrote:
> On 23.09.2008, at 08:46, Allan Odgaard wrote:
>> On 23 Sep 2008, at 00:34, Timothy Bates wrote:
>>> I'm trying to write a snippet for wikimedia for applying bold
>>> (wrapping a string in **str**)
>>> Just a FYI we’re going to provide this via a unified system, see:
>> http://lists.macromates.com/textmate-dev/2008-September/012845.html
More information about the textmate
mailing list