Thanks Saq! I found your post when I checked my spam filter this morning. Works great! Commencing world domination as we speak.
On Sun, Jul 11, 2021 at 7:15 AM Saq Imtiaz <[email protected]> wrote: > Try this: > > "pattern": "///", > "filter": "[all[tiddlers]!is[system]]", > "start": "<$macrocall $name=det tid=\"", > "end": "\" />" > > On Sunday, July 11, 2021 at 1:50:17 PM UTC+2 David Gifford wrote: > >> Hi everyone >> >> My edit to the edit-comptext plugin config tiddler ( >> http://snowgoon88.github.io/TW5-extendedit/#%24%3A%2Fplugins%2Fsnowgoon88%2Fedit-comptext%2Fconfig >> ) >> >> Has this: >> >> "pattern": "///", >> "filter": "[all[tiddlers]!is[system]]", >> "start": "<$macrocall $name=det tid=", >> "end": " />" >> >> I would like to have a " after tid= and another " before /> so that when >> I hit enter, the tiddler that is autocompleted will be wrapped with the >> full macrocall. Single quotes aren't an option, because tiddler titles >> could contain single quotes. >> >> What is the secret hack you guys use to sneak those in? Based on the >> editor toolbar wrap buttons I tried turning " from the code into """, but I >> destroyed my file. Don't worry, it was a copy, so I didn't lose anything. >> >> Thanks for any help you can give! >> >> Dave >> > -- > You received this message because you are subscribed to a topic in the > Google Groups "TiddlyWiki" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/tiddlywiki/T3n5S27urEo/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywiki/0ab2eaad-4a1b-4dc7-ab33-31bb17ff9bden%40googlegroups.com > <https://groups.google.com/d/msgid/tiddlywiki/0ab2eaad-4a1b-4dc7-ab33-31bb17ff9bden%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/CANE%3DBFLZQ3ryyoxOcqdSYwfeZ6Oympif6qNYqCCUqh4P3qDnjg%40mail.gmail.com.

