Hi Danielo

> So far so good. Then, if I change the Hello there tiddler (edit -> add 
> content -> save) the count increases on a weird way:
> 
> $tw.wiki.changeCount
> Object 
> $:/HistoryList: 3
> $:/StoryList: 3
> $:/state/popup/more--1211625487: 2
> $:/state/popup/tiddler-info--1779055697: 2
> Draft of 'HelloThere': 10
> HelloThere: 1
> Why there are 10 changes to the Draft of 'HelloThere' ? and that number 
> always increases, but the Draft tiddler does not exists anymore. Then, how 
> can I know which tiddlers exists and which ones does not?

The changecount is not reset when a tiddler is deleted. Otherwise it wouldn’t 
be possible to distinguish between a tiddler that was reset and recreated, and 
one that hasn’t. Those 10 changes to the draft correspond to the characters you 
typed.

So if you want to know whether a tiddler exists you’d call 
store.tiddlerExists(title) in the usual way.

> But the changedTiddlers object is always empty.

You’re not supposed to touch that object directly. Information derived from it 
is passed to change events automatically.

Best wishes

Jeremy

> 
> Regards
> 
> -- 
> 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 http://groups.google.com/group/tiddlywiki 
> <http://groups.google.com/group/tiddlywiki>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/afeaf50b-08e6-4426-b5eb-b2c88996951b%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/afeaf50b-08e6-4426-b5eb-b2c88996951b%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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/71C9C71F-2053-40CF-976E-F36200C2CAAA%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to