1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-16 18:39:54 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/pragmas
Cameron Fischer 74a18c39ab
$parameters widgets now claim index parameters sequentially (#7962)
* $parameters widgets now claim index parameters sequentially

Before, they just always used their own indices, which meant unnamed
parameters would get assigned to multiple values, which wasn't any
use to anyone.

* Elaborated tests for nested parameters

* Added example to clarify how multiple paramter definitions are handled

* Updated \procedure documentation

* Removed depth from $parameters

* Add failing test

* Adjusted transclude to account for refreshing

* This index system should work

It handles some strange edge cases too.

* Stupid end-of-file newlines

* Removed redundant whitespace pragma

---------

Co-authored-by: Jeremy Ruston <jeremy@jermolene.com>
2024-02-10 14:44:39 +01:00
..
Pragma_ _define.tid Docs: Warn about textual substitution with nested macros 2023-12-17 18:57:16 +00:00
Pragma_ _function.tid Parameterised transclusions (#6666) 2023-04-19 11:55:25 +01:00
Pragma_ _import.tid Introduce $:/tags/Global tag 2023-05-09 15:46:54 +01:00
Pragma_ _parameters.tid Update ParametersWidget and add Examples (#7464) 2023-05-22 10:46:45 +01:00
Pragma_ _parsermode.tid Improve \parsermode documentation (#7214) 2023-01-17 12:31:07 +00:00
Pragma_ _procedure.tid $parameters widgets now claim index parameters sequentially (#7962) 2024-02-10 14:44:39 +01:00
Pragma_ _rules.tid Fixed typos in documentation for new pragma (#7637) 2023-07-31 12:06:04 +01:00
Pragma_ _whitespace.tid Docs: Clarify that whitespace trim is inherited by procedure and widget definitions 2023-09-21 18:11:54 +01:00
Pragma_ _widget.tid Parameterised transclusions (#6666) 2023-04-19 11:55:25 +01:00
Pragmas.tid Feat: allow new pragmas to be indented (#7624) 2023-07-21 13:40:42 +01:00