insertbefore operator and insertafter

54 views
Skip to first unread message

Mohammad

unread,
Feb 24, 2020, 1:39:30 PM2/24/20
to TiddlyWiki
Tiddlywiki supports the insertbefore operator in https://tiddlywiki.com/#ActionListopsWidget

How one can simulate the insertafter with the current operators!

Tiddlywiki does not have insertafter operator

--Mohammad

TonyM

unread,
Feb 24, 2020, 6:27:02 PM2/24/20
to TiddlyWiki
Mohammad,

The list-before and list-after work for tags and list fields and the order operators offer a sufficiently rich set of options to do the equivalent.

Perhaps the Putafter operator is the same as insertafter by another name https://tiddlywiki.com/#putafter%20Operator%20(Examples)

Regards
Tony

Mohammad

unread,
Feb 24, 2020, 10:32:49 PM2/24/20
to TiddlyWiki


On Tuesday, February 25, 2020 at 2:57:02 AM UTC+3:30, TonyM wrote:
Mohammad,

The list-before and list-after work for tags and list fields and the order operators offer a sufficiently rich set of options to do the equivalent.
These are fields name! I need operators to put for example a title after another programmatically!



Perhaps the Putafter operator is the same as insertafter by another name https://tiddlywiki.com/#putafter%20Operator%20(Examples)

Yes, the difference is, putafter works on the existing entries. insert works on a title (item) not existed in the list!
By the way I used putafter as per Eric Shulman solution in another thread. But it is a bit difficult.

Again exceptions in Tiddlywiki scripting language!
 

Regards
Tony

Cheers
Mohammad
Reply all
Reply to author
Forward
0 new messages