Hi Yarkov

> First, each tiddler has its text property, right?

Correct.

> And also store object has its getTiddlerText method, true?

Correct.

> So, is this correct that
> getTiddlerText method should be used every time _instead of_ direct
> changing of tiddler.text?

I'm not 100% sure what you are trying to do here. We might need more
context about what you are trying to achieve.
getTiddlerText() should be used to retrieve the text of a tiddler when
that is the only part of the tiddler that is required.  It is for
getting not setting.
If you are not changing the text through the edit interface then I
would recommend using the tiddler object and then saving that back to
the store.

>
> Next step is this: is the store object intended to be used for every
> manipulation with tiddler properties, be it fields, tags or creator's
> name?

Again not 100% sure what you are asking here. On limited understanding
I'd say yes. Anyone else jump in if I'm not quite right.

> PS the "store" thing, as I can see, is a name of variable for a
> TiddlyWiki object, right? Some time ago Eric wrote [1] about
>
> store.setValue('TiddlerTitle','fieldname','value');
>
> method, but I can't see it in [2]. Is it because the description in
> [2] outdated or I've got something wrong?

[2] is more than likely to be outdated and is often incomplete.
store.setValue is definitely there, it can be seen in the
TiddlerFields.js source file on line 69 [3]
>
> [1]http://groups.google.com/group/tiddlywiki/browse_thread/thread/829763...
> [2]http://oldwiki.tiddlywiki.org/wiki/Dev:TiddlyWiki_Class

Hope that helps,

Colm

[3] - 
https://github.com/TiddlyWiki/tiddlywiki/blob/master/js/TiddlerFields.js#L69

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywikidev?hl=en.

Reply via email to