Skip to content

Sort editor theme and rendering CSS preference menus#1371

Closed
lexblagus wants to merge 1 commit into
MacDownApp:masterfrom
lexblagus:prefs-theme-list-sort
Closed

Sort editor theme and rendering CSS preference menus#1371
lexblagus wants to merge 1 commit into
MacDownApp:masterfrom
lexblagus:prefs-theme-list-sort

Conversation

@lexblagus

Copy link
Copy Markdown

Use localizedStandardCompare: so Theme (Editor) and CSS (Rendering) popup lists appear in ascending order.

Made-with: Cursor

Use localizedStandardCompare: so Theme (Editor) and CSS
(Rendering) popup lists appear in ascending order.

Made-with: Cursor
@schuyler

Copy link
Copy Markdown

Hey @lexblagus — just a heads-up that we've adopted this enhancement downstream in schuyler/macdown3000#404. Nice quality-of-life fix; thanks for putting it together! 🙏

schuyler added a commit to schuyler/macdown3000 that referenced this pull request Apr 26, 2026
## Summary
- Sort the **Theme (Editor)** and **CSS (Rendering)** popup lists in
Preferences alphabetically using `localizedStandardCompare:` so entries
are easier to discover.

Ported from upstream
[MacDownApp/macdown#1371](MacDownApp/macdown#1371)
by @lexblagus.

## Test plan
- [ ] Open Preferences → Editor and confirm the Theme dropdown is sorted
alphabetically (locale-aware).
- [ ] Open Preferences → Rendering and confirm the CSS dropdown is
sorted alphabetically.
- [ ] CI build passes on macOS.

---
thank you @lexblagus!
@lexblagus

Copy link
Copy Markdown
Author

Hey @lexblagus — just a heads-up that we've adopted this enhancement downstream in schuyler/macdown3000#404. Nice quality-of-life fix; thanks for putting it together! 🙏

That's wonderful! Appreciate the kindness!

@lexblagus lexblagus closed this Apr 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants