34eb2c4
Start on custom titlebar
Nathan Sobo created
34eb2c4
Start on custom titlebar
Nathan Sobo created
d9ab406
Merge pull request #123 from zed-industries/fix-word-boundary-movement-multibyte
Fix moving to next word boundary with multi-byte characters
Nathan Sobo created
01fcec5
Merge pull request #125 from zed-industries/theme-variables
Add flexible theme system
Nathan Sobo created
d37a987
Improve border parsing in themes
The `top`, `left`, `bottom` and `right` fields are optional. If none are specified, then they are all set to true. Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
522fac9
Fix compile error in tests
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
1a21902
Move fuzzy mod out of worktree
We now match against arbitrary strings in addition to paths. Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
593afb2
Change reload theme binding
Nathan Sobo created
039dae0
Remove logging
Nathan Sobo created
85a0763
Merge branch 'main' into theme-variables
Nathan Sobo created
d484d80
Match file finder icon color to label color
Nathan Sobo created
33a8942
Pull empty selector label styling from correct place in theme
Nathan Sobo created
7494a39
Specify tab padding in theme
Nathan Sobo created
4d94758
Reload current theme on cmd-k shift-T
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
8238c87
Test bundled themes and store names on themes
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
802f1f4
Get new theme structure working
* Fix precedence of extends directives * Always group color with font properties for text theming Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
56354c7
Avoid crashes when laying out lines containing byte order marks
This solution isn't perfect and we'll probably have layout bugs with these lines, but this prevents us from triggering undefined behavior. Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
5761756
Move remaining theme-related code and tests from settings mod to theme mod
Nathan Sobo created
90b51c3
Implement themes::ThemeRegistry::get
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
ca9862f
Start on new theme::ThemeRegistry
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
81041d7
Restructure Theme with new style objects
Max Brunsfeld created
ef0ffbe
Use custom color wrapper type everywhere in gpui & zed
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
fa01273
Extract {Container,Label}Style structs from those elements
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
200e278
💄
Nathan Sobo created
4c53470
Notify all views when a theme is selected
Nathan Sobo created
b30d0da
Add a theme picker
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
e080739
Remove use of replace_with crate for managing element lifecycles
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
76c07fb
Make Theme::default have a non-empty replica theme vector
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
d5ec0c8
Fix moving to next word boundary with multi-byte characters
Previously, for a given point, we would create a char iterator at the start of the row and the skip `column` characters. This is however incorrect because display points are expressed in bytes, and so we could park the anchor midway through a multi-byte character. This commit fixes the issue by switching `DisplayMap::chars_at` to take a point instead and skipping characters correctly when a point with a non-zero column is provided.
Antonio Scandurra created
92353b6
Start work on allowing variables in themes
Max Brunsfeld created
6a03f93
Ship new Zed icon!
Nate created
7828c1b
Merge pull request #121 from zed-industries/save-file-as-new-worktree
Fix error when saving an untitled file outside of any existing worktree
Max Brunsfeld created
eb05103
Fix saving an untitled file outside of any existing worktree
Max Brunsfeld created
5ac0a19
Merge pull request #122 from zed-industries/deterministic-random-synchronous-tests
Use deterministic executor in randomized synchronous tests
Max Brunsfeld created
8785f1f
Use deterministic executor in randomized synchronous tests
Remove App::test function
Max Brunsfeld created
4c3f97d
Fix type of Workspace::open_new_file context parameter
Fixes #118
Max Brunsfeld created
33b9a6e
Specify zed as the workspace's default member
This way, `cargo run` at the root of the repo will run the Zed app instead of the server.
Max Brunsfeld created
849604c
Don't mark the first row as soft-wrapped when the tree is empty
Also, add a randomized test to verify that soft-wrapped rows are reported correctly.
Antonio Scandurra created
db9cfb0
Highlight active lines
Antonio Scandurra created
3abed88
Highlight active row(s) in the gutter
Antonio Scandurra created
372d2cc
Extract most colors in codebase into theme file. switch to dark
Max Brunsfeld created
c306ac0
Allow more time wrapping to complete synchronously
We're seeing occasional flickers and wondering if this will help. Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
e7d03af
Fix moving to previous word across a wrap boundary
I'm just going to the end of the soft-wrapped line, mirroring the behavior with hard wraps. It's maybe not perfectly technically correct but that behavior would require us to consider word boundaries outside of the current line, which doesn't seem worth the complexity.
Nathan Sobo created
25c472a
WIP - unit test for word-wise movement w/ soft wrap
Max Brunsfeld created
aab51e7
Add some incomplete tests for movement
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
492a09f
Fix movement across soft wrap boundaries
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Nathan Sobo and Antonio Scandurra created
c779633
Make unfolding inclusive
If the range *touches* the fold, we unfold. This was needed to fix the behavior for unfolding at the current selection position. Previously, there was some kind of translation issue that was allowing us to accidentally work the way we wanted without this. Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Nathan Sobo and Antonio Scandurra created
38d4662
Only honor rightward bias for buffer points *inside* of folds
(Not at boundaries) Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Nathan Sobo and Antonio Scandurra created
a6a8f4f
Introduce a struct for spanned_rows result
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Nathan Sobo and Antonio Scandurra created
029460b
Respect buffer row boundaries in line-oriented edit operations
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Nathan Sobo and Antonio Scandurra created
84fc8f0
Don't let people retry randomized tests
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Nathan Sobo and Antonio Scandurra created