View Ticket
Not logged in
Ticket Hash: 797b5ba3a24140c299902a2612ff253b1e8d3126
Title: Add a pattern in MaterialIcons::names
Status: Closed Type: Feature_Request
Severity: Minor Priority: Immediate
Subsystem: Resolution: Fixed
Last Modified: 2019-05-17 04:33:33
Version Found In:
User Comments:
anonymous added on 2019-05-16 19:57:30:
A small patch that limits the number of icon names returned by [MaterialIcons::names] :


77a78
>     # Use a patern to get a shorter list.
79c80
<     proc names {} {
---
>     proc names {{pattern *}} {
81c82
< 	tailcall lsort [array names glyph]
---
> 	tailcall lsort [array names glyph $pattern]

dzach

anonymous added on 2019-05-16 19:58:22:
Spelling correction:

77a78
>     # Use a pattern to get a shorter list.
79c80
<     proc names {} {
---
>     proc names {{pattern *}} {
81c82
< 	tailcall lsort [array names glyph]
---
> 	tailcall lsort [array names glyph $pattern]

chw added on 2019-05-17 04:33:33:
Done; see check-in [2222b5b7b0].