Hi Tobias

> Asked differently: Is it possible to push the state title back into the 
> "touched tiddlers" without that immediately triggering another refresh cycle 
> as a result of it?

Yes; modifying a tiddler adds the tiddler title to an accumulated list of 
changes, but the change event (and hence the refresh cycle) is asynchronous, 
triggered by window.setTimeout() or process.nextTick()

> I think that that may be more complex than just preserving the 
> selection/cursor position.
> Not sure what you may be referring to.

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.

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/2e5aef9b-6fd0-4291-96d5-afdbec74adc9%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/2e5aef9b-6fd0-4291-96d5-afdbec74adc9%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/E3A91492-1B5F-4962-A33C-CD5B30B6F6AE%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to