gpui: Fix `pattern` example (#23786)

This PR fixes the `pattern` example, which was merged in
https://github.com/zed-industries/zed/pull/23576 without being updated
with the new GPUI changes.

Release Notes:

- N/A
47dcbdfe51Marshall Bowers committed on 1/28/2025, 5:02:57 PM· committed by GitHubparent2367298
1 file changedLine totals unavailable