8be85fd
Fix typo in highlighting regex for constants
Max Brunsfeld created
8be85fd
Fix typo in highlighting regex for constants
Max Brunsfeld created
6323e8c
WIP: Try rendering underlines after all other quads
I thought this would allow underlines to show up in tabs, but it doesn't seem to be working.
Nathan Sobo created
9346aa3
Start work on underlined text
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
8e5c709
Block for up to 1ms when reparsing
This way, we'll avoid rendering two frames on edits that lead to fast reparses. Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
11b8577
Update FoldMap snapshot versions when only the parse tree changes
even if the buffer's text has not changed Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
94959d1
Load embedded fonts when initializing settings
Antonio Scandurra created
6e71c43
Delete `Editor::newline` and just use the `Insert` action
Antonio Scandurra created
2aadc97
Simplify how we determine if enter should insert a newline or propagate
Antonio Scandurra created
ffc8732
Rename `BufferView` to `Editor` in `ui_name`
Antonio Scandurra created
77d1574
Pass how many lines the editor should expand to in auto height mode
Antonio Scandurra created
cb62d53
Return errors instead of panicking when interacting with the keychain
Closes #134
Antonio Scandurra created
cff6ffb
Avoid invalid lifecycle state for flex element when total child flex is zero
Max Brunsfeld created
00f6bdc
Bundle and use Inconsolata v2.012
There's a newer version of the font available but ligatures seem broken googlefonts/Inconsolata#58 and googlefonts/Inconsolata#52. As part of this commit I also upgraded rust-embed to use the new exclusion feature, which allows us to skip embedding OS files like `.DS_Store`.
Antonio Scandurra created
0e4f777
Fix cargo feature name in seed-db script
Max Brunsfeld created
c3f1d43
Merge pull request #132 from zed-industries/fix-key-window
Ensure key window is a GPUIWindow before returning its id
Antonio Scandurra created
e9d5015
Add a min width for the `ChatPanel`
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
f0775ae
Rename `Hooks` to `Hook`
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
2f0f6e2
Honor max constraint in `Flex` even if children overflow
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
0ae70b6
Use `on_after_layout` to cap the rendered sidebar item's width
Antonio Scandurra created
1b8ea08
Exclude selections from editor splits in Editor::active_selection_sets
Antonio Scandurra created
bd13584
Clone `Editor::build_style` on split
Antonio Scandurra created
215db42
Ensure key window is a GPUIWindow before returning its id
Antonio Scandurra created
2320205
Update theme selector matches when search query changes
Antonio Scandurra created
4c7eaae
Use `Flexible` in file finder and theme switcher instead of `Expanded`
Antonio Scandurra created
776f7dd
Add a new `Hooks` element to invoke a callback before layout
This is useful to cap the width of sidebars when dragging the resize handles beyond the maximum bounds of the sidebar.
Antonio Scandurra created
a0dd41c
Add a `Flexible` element that works like in Flutter
Antonio Scandurra created
ec36d81
Round corners in the chat panel's input editor
Antonio Scandurra created
522bef2
Add placeholder text as a feature of Editor, use it in chat panel
Max Brunsfeld created
1c43121
In theme, add an InputEditorSyle for styling small editors
Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Max Brunsfeld and Antonio Scandurra created
f59e02c
Use macOS API to retrieve the local timezone
The `time` crate currently doesn't have a reliable way to get that. In the future, `NSSystemTimeZoneDidChangeNotification` could be used to keep the cached timezone up-to-date. Co-Authored-By: Max Brunsfeld <max@zed.dev>
Antonio Scandurra and Max Brunsfeld created
3d4ff43
Reset visible bounds when painting an `Overlay` element
Co-Authored-By: Max Brunsfeld <max@zed.dev>
Antonio Scandurra and Max Brunsfeld created
6fec9e1
Include sanitized message in `SendChannelMessageResponse`
Co-Authored-By: Nathan Sobo <nathan@zed.dev> Co-Authored-By: Max Brunsfeld <max@zed.dev>
Antonio Scandurra , Nathan Sobo , and Max Brunsfeld created
2d5abee
Fix calculation of visible glyph bounds
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
26fe285
Always inherit parent layer's clip bounds
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
a27a17b
Make scrolling up in chat panel smoother
This increases the threshold at which we start loading new messages as well as the amount of messages we get back from the server every time we fetch. Also, we restructured the seed binary to use the methods in `Db` to generate seed data and added random chat messages. Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
6a071e8
Make `Line::paint` interface consistent with `Line::paint_wrapped`
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
bdc35f0
Paint only glyphs that intersect the visible bounds in `Text`
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
0490c60
Introduce a `visible_bounds` parameter to `Element::paint`
We're not using this yet but this will be useful to avoid rendering unnecessary portions of text.
Antonio Scandurra created
38dc023
Toggle sidebar items on mouse down instead of on click
Antonio Scandurra created
1d697df
Implement channel switching
Antonio Scandurra created
836b6df
Don't return channels that were released in `ChannelList::get_channel`
Antonio Scandurra created
4876e40
Reset rendered range when calling `ListState::reset`
Antonio Scandurra created
007d6f5
Add a with_style method to Editor
Max Brunsfeld created
6821c47
Improve styling of chat messages and channel select
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
985788b
Allow uniform margins and paddings to be specified as single numbers
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
848dd5f
Add refreshing field to LayoutContext
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
894531d
Fix list's scrollwheel direction
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
82d1fb8
Clean up List::layout
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
bfdb0f3
Return correct scroll top from layout when list is not full
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
bc38baf
Get randomized test passing
Co-Authored-By: Nathan Sobo <nathan@zed.dev> Co-Authored-By: Antonio Scandurra <me@as-cii.com>
Max Brunsfeld , Nathan Sobo , and Antonio Scandurra created