Home Download Buy Blog Forum Support

Inline snippets in ST2?

Inline snippets in ST2?

Postby SJML on Tue Feb 15, 2011 12:35 pm

Is insertInlineSnippet (or more likely, insert_inline_snippet) simply not supported yet or is there some new/better way of doing things now?
SJML
 
Posts: 19
Joined: Sat Feb 05, 2011 3:32 am

Re: Inline snippets in ST2?

Postby SJML on Tue Feb 15, 2011 12:43 pm

Please forgive my ignorance; still learning the API here.

Could you give an example for how to invoke this from a plugin? Would you call:

Code: Select all
view.run_command('insert_snippet', '[MY SNIPPET]')


Thanks for the help!
SJML
 
Posts: 19
Joined: Sat Feb 05, 2011 3:32 am


Return to Technical Support

Who is online

Users browsing this forum: diesirae, Google [Bot], JordiOrlando and 18 guests