Vaughn Papenhausen wrote:
>
> One place to look for ideas might be this: the CodeMirror editor plugin 
> has an addon that lets it autocomplete brackets, so perhaps you can take 
> ideas from it? See here: 1
> https://codemirror.net/doc/manual.html#addon_matchbrackets


Thanks Vaughn. I'm thinking the function just below that one looks more 
useful, i.e https://codemirror.net/doc/manual.html#addon_closebrackets
Here's the demo <https://codemirror.net/demo/closebrackets.html> for it 
where you type in e.g [ to get []. Really nice! And it seems to be exactly 
what is needed.

<:-)

 

-- 
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 tiddlywikidev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywikidev/c41c0cc8-1fde-4d4a-baed-31fc0e9fb442%40googlegroups.com.

Reply via email to