Mat: here is an alternative approach to consider.

- a button or keyboard shortcut in the editor that creates a popup at the 
caret position
- an input field in the popup where you start typing whatever you want 
autocompleted
- now its easy to know where the string starts and ends
- all your other autocomplete logic and UI can be in the same popup 
underneath the input field or to the side
- once completed, hitting enter inserts that text at the caret position.

-- 
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/e92449ad-5356-41a2-a1f1-2738db81d4ffo%40googlegroups.com.

Reply via email to