Hi,
I'm sure this is a simple question. In an HTML file, Commend-B wraps the selection in <strong></strong> tags. I've just installed the MediaWiki bundle, and want to add my own snippet to do the same, but wrap between ''' marks. I created a snippet in the MediaWiki bundle, set Key Equivalent to Comment-B, and scope to "text.html.mediawiki" (which is what is reported when I do a Control- Shift-P in the document to view the current scope. However, I still get <strong> tags instead of '''. What have I done wrong here?
TIA
_________________
George
Hmm. Now it seems to be working. Is it usual to have some kind of delay between editing a snippet and observing correct behaviour in the document? Should I close the Edit Bundle window before testing?
_________________
George
On 8 Sep 2006, at 15:02, George Crawford wrote:
Hi,
I'm sure this is a simple question. In an HTML file, Commend-B wraps the selection in <strong></strong> tags. I've just installed the MediaWiki bundle, and want to add my own snippet to do the same, but wrap between ''' marks. I created a snippet in the MediaWiki bundle, set Key Equivalent to Comment-B, and scope to "text.html.mediawiki" (which is what is reported when I do a Control-Shift-P in the document to view the current scope. However, I still get <strong> tags instead of '''. What have I done wrong here?
TIA
George
On 8/9/2006, at 16:05, George Crawford wrote:
Hmm. Now it seems to be working. Is it usual to have some kind of delay between editing a snippet and observing correct behaviour in the document? Should I close the Edit Bundle window before testing?
Generally it should be enough to remove focus from the control in which you are changing a setting (except for language grammars, where you need to press Test).
Closing the bundle editor however should certainly do it -- so it’s a good habit to always close it, before testing customizations.