Saq Imtiaz wrote:
>
> I suspect what Mat needs is actually the co-ordinates of the caret in a 
> textarea, and not the mouse cursor position.
>

Yes... I'm almost nervous to say it after all the work Jed has put into the 
mouse thing which, however, I can also see use for for other ideas. For one 
thing, one could imagine View mode editing of a tiddler by clicking at some 
point where one wants an editor to pup up. But, yeah, the idea with 
EditorMagic is to get the popup where the text cursor is because this is 
where the popup trigger is as one types it. I was not aware of the term 
"caret".
 

Should be possible to wrap this in a widget or action to get the job done:
>
> https://github.com/snowgoon88/TW5-extendedit/blob/master/plugin/files/cursor-position.js
>

...yeah, unfortunately I have no idea how to do this. 

<:-)

-- 
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/01515ded-7882-45af-aca8-b5383ae7b4c2%40googlegroups.com.

Reply via email to