> The original problem here can be fixed by updating 
> SimpleEngine.prototype.setText() (and variants) to preserve the selection 
> position during the update. That’s a fairly simple, Google-able problem.
> 
> That approach fixes all the problems we’ve discussed without needing to do 
> anything tricksy with the refresh mechanism.
> 
> 
> Not sure if / when we'll ever need a more sophisticated handling like that 
> for the simple editor. So, I'd probably wait for someone calling for it.

It’s a general problem with the combination of the keyboard widget triggering 
changes to a tiddler field bound to a text editor widget while it has the 
focus. I’d be very happy to see it fixed; you’ll recall your initial 
befuddlement when you encountered the code, and it would be nice to spare 
future generations of developers that experience :)

Best wishes

Jeremy

> 
> Best wishes,
> 
> Tobias.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> Visit this group at https://groups.google.com/group/tiddlywiki 
> <https://groups.google.com/group/tiddlywiki>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/62640d0e-54ec-4c5b-9a34-b07e9f4b857c%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/62640d0e-54ec-4c5b-9a34-b07e9f4b857c%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ECD78852-DC19-41DB-A8B6-94D163A6BBF9%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to