Hi Saq, On Wed, May 5, 2021 at 11:10 AM Saq Imtiaz <[email protected]> wrote:
> True for all fields. A field is changed by creating a new Tiddler with the > same fields (including title) and updating the necessary field when > creating that new Tiddler. I did not know this! So, tiddlers are immutable is a correct sentence! Is this the best way from performance point of view? > > > On Wednesday, May 5, 2021 at 6:35:34 AM UTC+2 Mohammad wrote: > >> On Thursday, April 29, 2021 at 3:47:05 AM UTC+4:30 PMario wrote: >> >>> On Wednesday, April 28, 2021 at 9:26:25 PM UTC+2 si wrote: >>> >>>> Thank you very much Mario! >>> >>> >>> You are welcome. >>> >>> I think a button may make more sense anyway, but am I right to assume >>>> that it is not (easily) possible to have the title automatically update as >>>> I type? >>>> >>> >>> Right. .. In TiddlyWiki the tiddlers are "immutable" [1]. They can't be >>> changed, after they have been created. There actually is _no_ function in >>> TW that says: Edit existing tiddler. >>> >> >> Is this true for other fields than title? I mean >> >> >> 1. if a new field is added to an existing tiddler? or >> 2. the value of a field is changed? or >> 3. a new field is added? >> >> >> or immutable only means changing the tiddler title? >> >> >> >>> >>> >>> The only function to write to a tiddler is: $tw.wiki.addTiddler(...) >>> Adding a tiddler with the same title, will overwrite the existing one. >>> That's the only way to change a tiddler. >>> >>> Let's say you have "New Tiddler" and you want to change it to "Faust - >>> Goethe". As soon as you start typing F .. you add tiddler F, then Fa, Fau, >>> Faus ... and so on. >>> >>> - go to https://tiddlywiki.com >>> - create a new tiddler >>> - Copy this into a new tiddler: <$edit-text tiddler=<<currentTiddler>> >>> field=title /> >>> - Save >>> - open the right sidebar : Recent tab <- important >>> - start typing >>> >>> Nice - right? >>> >>> have fun! >>> mario >>> [1] https://en.wikipedia.org/wiki/Immutable_object >>> >>> >>> -- > 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 view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywiki/5059a0d6-a9a5-4578-a8c1-418e4284fce0n%40googlegroups.com > <https://groups.google.com/d/msgid/tiddlywiki/5059a0d6-a9a5-4578-a8c1-418e4284fce0n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/CAAV1gMCG%3DB8QV8KCeLzNb1zbH0A8QVpRb9SQTBuZ_UHC_ra4Rw%40mail.gmail.com.

