Text.text.fill_with: def of ezsys@0.1.0.0 Import: import ezsys@0.1.0.0/src/text.bend as Text Lines 198-211 of ezsys@0.1.0.0/src/text.bend: https://jend.leeeet.dev/read.txt?path=ezsys@0.1.0.0/src/text.bend&start_line=198&end_line=211 import Base # every marker between open and close replaced by its key's value def text.fill_with( open: String, close: String, tpl: String, pairs: text.Pairs() ) -> String: match open close: case SNil{} _: tpl case SCon{_oh, _ot} SNil{}: tpl case SCon{oh, ot} SCon{ch, ct}: text.go(tpl, Plain{}, SCon{oh, ot}, SCon{ch, ct}, pairs) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=ezsys@0.1.0.0/src/text.bend&name=Mode https://jend.leeeet.dev/definition.txt?path=ezsys@0.1.0.0/src/text.bend&name=text.Pairs https://jend.leeeet.dev/definition.txt?path=ezsys@0.1.0.0/src/text.bend&name=text.go