Snippets
Hi Zufuliu! Thank you for the Notepad2 and all modification you made for it. I create a simple algorithm to add Snippets to Notepad2. Mabe you add them to Notepad2, if you like it. notepad2.zip
Example of snippets, I made for JavaScript only. But You can add them to all necessary lexers.
Keyword index 14 is in use (see stlD.c and stlCPP.c), only index 15 can be used for snippets (which is the intent).
Thank you for reply. Ok! I'll think about new algorithm. And I've got some ideas about snippets in Notepad2.
Hi Zufu Liu!
Another try. I remake to index 15 only and add "Snippets" to popup menu. Like in "Microsoft Visual Studio". Example for JavaScript only. But You can add to languages You like. notepad2.My.mod.zip
Maybe you will add snipets? Or try them?

Originally posted by @Sergy2001 in https://github.com/zufuliu/notepad2/issues/629#issuecomment-1455181778
Maybe you will add snipets?
The code at https://github.com/zufuliu/notepad2/issues/600#issuecomment-1432870023 does nothing on my local build?
Originally posted by @zufuliu in https://github.com/zufuliu/notepad2/issues/629#issuecomment-1455902309
Check difference and you will see the code I add...
Originally posted by @Sergy2001 in https://github.com/zufuliu/notepad2/issues/629#issuecomment-1457045713
You can try Notepad2, compiled by me, JavaScript only. Notepad2.zip
Originally posted by @Sergy2001 in https://github.com/zufuliu/notepad2/issues/629#issuecomment-1457140447