Mat, when merged this pull request includes adding the ability for the 
edit-text widget to fire actions when a user types into the text area:
https://github.com/Jermolene/TiddlyWiki5/pull/4725

This may be something you can use.

On Saturday, June 27, 2020 at 10:52:14 AM UTC+2, Mat wrote:
>
> For the "editor popup" (i.e really for the TitlePicker, i.e really for the 
> general EditorMagic tool that is supposed to popup in the editor when the 
> user types special strings)...
>
> ...someone proposed that typing [[ should automatically convert it into 
> [[]] and put the caret in between for further typing, i.e like in most code 
> editors. This would solve the otherwise difficult problem of knowing if, 
> say; [[this string ends here or here or here and it would make this problem 
> trivial - i.e it ends here]].
>
> So, the generalized idea is to automatically convert a trigger string into 
> trigger+endtrigger and put the caret in between for further typing. Thus, 
> when the system senses that the user just typed the last character of the 
> trigger, it fires off.
>
> How can this be achieved?
>
> The different trigger and end-trigger strings are found in user created 
> tiddlers (tagged, say, "$:/tags/EditorMagic") in the fields titled 
> "trigger" and "trigger-end".
>
> Thank you.
>
> <:-)
>

-- 
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/941a7a30-2dd7-4651-beed-764f1c695c86o%40googlegroups.com.

Reply via email to