Hola
>
> - at which TW version do we started to use event.paramObject notation
> for messages? I think in 5.1.4, but I'm not sure
>
> As far as I remember since 5.1.6 where the action-setfield widget was
heavily improved and the new-tiddler message. The advantage here is that we
can pass more than one attribute.
>
> - It is the same as the old param holding the object, right? I see
> this much cleaner.
>
> For one parameter it is the same, otherwise the paramObject is better.
>
> - $tw.wiki.setText function is useful, but the way you want to call it
> could be odd. For example, you want to change just the text field, making
> use of the default values that this function tooks you have to
> $tw.wiki.setText("title",null,null,"new value"). Since the function is
> called setText I would expect it to change it only the text field. But
> instead it is able to change any field and any index of the given tiddler.
> Since this is very powerful I think it should be spliced into two
> functions. setText (only for text field) and setField (for any field)
>
> I agree in the utils library for the tiddlymap plugin, I also "split" them
as it confused me.
Since I moved the macro call to a different tiddler it is only updated when
> I change that tiddler content. Because I do this from a button it looks
> like it is only reacting to "button press" events. If I edit the content of
> one of the "temp" tiddlers from an edit-widget it is not being re-evaluated
> on every key press.
Sorry maybe I did not understand your question here but generally speaking,
a macro that is contained in a tiddler's body is *not* reevaluated simply
because you change a field of the tiddler. It only gets evaluated once you
wikitext-parse the body. Only then the macro is actually executed. So e.g.
when you transclude a field, then it gets wikiparsed.
> Since this is exactly what I wanted I expected the opposite.
>
Sorry, I do not really understand you here.
-Felix
--
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/75954744-de5b-4c32-afb7-c6c814c9a428%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.