Quantcast
Channel: ScintillaNET Forum Rss Feed
Viewing all articles
Browse latest Browse all 296

New Post: Add custom snippets to Snippets.SnippetList

$
0
0
I have been using ScintillaNET both personally and professionally for some time now but find the snippet functionality a little limited. I am trying to add my own snippets to the predefined snippet list. I'm aware that you can create a snippet on the fly with this line:
_frm.codeEditor.Snippets.InsertSnippet(new Snippet("header", _snip.HDR));
But I'd like to be able to add my own snippets to the list so that when calling:
_frm.codeEditor.Snippets.ShowSnippetList();
My own snippets are displayed and accessible. I have looked through several threads on here and through the source of ScintillaNET but haven't been able to see where the list is being generated or how to easily add to it. Ideally, I'd like to point it to a different path that contains my own snippet XML files.

Any advice or guidance will be very appreciated.

Viewing all articles
Browse latest Browse all 296

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>