Mat, Just a quick look at http://editormagic2.tiddlyspot.com/ and I notice its case sensitive can it be insensitive on input, sensitive on the result?
Keep up the good work. Tony On Monday, July 20, 2020 at 10:06:07 PM UTC+10, Mat wrote: > > > > Continued from Caret position - take 2 > <https://groups.google.com/forum/#!topic/tiddlywikidev/hOlWpnejqvI%5B1-25%5D> > > (direct link to last page here: link > <https://groups.google.com/forum/#!topic/tiddlywikidev/hOlWpnejqvI%5B101-125%5D> > ) > > @Saq: > > http://editormagic2.tiddlyspot.com/ > > This works. I did still have to modify body/editor to make its vars pick > up the correct fields from the template: > > \define em-checkTrigger() > <$vars > template={{!!title}} > trigger={{!!em-trigger}} > trigger-end={{!!em-triggerend}} > triggexp={{{ [{!!em-trigger}escaperegexp[]] }}} > triggendexp={{{ [enlist{!!em-triggerend}escaperegexp[]join[|] > addprefix[(]addsuffix[)+]split[\/]join[/]trim[]] }}} > before={{{ [<text>splitbefore{!!em-trigger}] }}} > before-length={{{ [<text>splitbefore{!!em-trigger}length[]] }}} > trigger-length={{{[{!!em-trigger}length[]]}}} > > > ... > > also note that $:/plugins/EditorMagic/styles is modified so the class > assignment of "editormagic-popup" at bottom of body/editor is superfluous. > > Please tell me if anything is not as expected. > > <:-) > > > > > > -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" 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/tiddlywikidev/15346610-8cac-45fe-b488-60ed14b0c54fo%40googlegroups.com.
