Antonio Scandurra
9642e9b425
Honor italic in syntax themes
2021-05-26 09:41:30 +02:00
Antonio Scandurra
e0cb5ccfba
Honor bold in syntax themes
2021-05-26 09:23:48 +02:00
Max Brunsfeld
8340958b33
Convert query capture indices to style ids
...
* Introduce a Theme struct as a new part of the app's settings
* Store on each Language a ThemeMap, which converts the capture ids
from that language's highlight query into StyleIds, which identify
styles in the current Theme.
* Update `highlighted_chunks` methods to provide StyleIds instead of
capture ids.
2021-05-24 16:44:14 -07:00
Nathan Sobo and Max Brunsfeld
4eac765f1a
Replace zed::watch with postage::watch for settings
...
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com >
2021-05-06 15:27:18 -06:00
Max Brunsfeld and Nathan Sobo
c632aab382
Vertically center linebox child element
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2021-04-06 13:03:19 -07:00
Max Brunsfeld
a5252937a9
Add fallback UI fonts that are installed by default on macOS
2021-04-02 15:48:37 -07:00
Antonio Scandurra
596fc47a68
Start on painting the editor
2021-03-25 17:36:29 +01:00
Antonio Scandurra
0f6927eb4b
Re-export font_kit primitives from a new fonts module
...
...also, rename the old `fonts` to `font_cache`.
2021-03-25 10:58:33 +01:00
Nathan Sobo
23308e17a9
WIP on rebuilding with extracted UI framework
2021-03-18 13:13:31 -06:00