Hi Mat,

Type e.g [[Ed to get the popup.
> Now type either of:
>  - a blank space and several other words
>  - or hit the Enter key a few times to get new rows
> This hides the popup.
> Now, where you're standing, type [[E
> This shows the popup in the old place
>

Right. This is actually the same bug as the one we discussed before, where 
moving the caret with keys and then typing didnt update the position of the 
popup. The underlying issue is this: once you have a popup and dont 
explicitly dismiss it by clicking somewhere, it will continue to show at 
the same place. I already have ideas for how to work around this, but it's 
better to wait and see how the rest of the code develops first and what 
approach will fit best.

Regarding different trigger-end options: I have to admit I am not familiar 
with your code beyond what was in the simplified demo at the beginning of 
this thread. I think your approach should be OK though I am not clear on 
workflow, do users get to choose which ending to use? Anyway, best way to 
figure it out is to try it.

Personally I think autocompletion makes sense for some things, like links. 
For others, like widgets, just detecting which widget the user is trying to 
type and showing the relevant docs in the popup might be a better approach.

I could also imagine a popup triggered by a specific character, say "|" 
that lets you choose to insert a transclusion, link or image etc.... though 
this might be more on my mind because of the work on the floating editor 
toolbar and the non-selection related buttons.

Cheers,
Saq

-- 
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/181cd8d2-5228-4481-9c00-f46a45ca2dc1o%40googlegroups.com.

Reply via email to