Jason Lee
|
6817c8d3cc
|
menu: Add AppMenuBar. (#1338)
- input: Change Input to not unselect when blur.
- popup_menu: Fix get key binding on PopupMenu with action context.
<img width="935" height="694" alt="image"
src="https://github.com/user-attachments/assets/295fa84e-f1d8-4f6f-8a77-601a45f8ad6d"
/>
## TODO
- [x] Keyboard support.
- [x] Add submenu to example.
- [ ] ~~Icon~~ and check support. Wait
https://github.com/zed-industries/zed/pull/39876
|
2025-10-10 21:03:16 +08:00 |
|
Jason Lee
|
d0396d779e
|
editor: Add document_colors LSP. (#1329)
|
2025-10-06 18:08:12 +08:00 |
|
Jason Lee
|
cfd060b66d
|
editor: Split Input and Editor background color. (#1323)
Keep input to use window background color, the `editor.background` only
for Editor mode.
|
2025-10-03 11:20:01 +08:00 |
|
Sunli
|
34b570cd8f
|
text_view: Refactor TextView, SyntaxHighlighter to use async to parsing. (#1299)
1. Parse content in the background thread
2. Remove unnecessary clones
3. `TextViewStyle` and `LanguageRegistry` can now be used across threads
|
2025-09-29 14:04:24 +08:00 |
|
Jason Lee
|
1c3eca93b8
|
editor: Revert to use ropey. (#1284)
For the License reason.
- The performance is slow down, before version can handle 200K lines,
now 150K lines is good.
|
2025-09-24 20:52:18 +08:00 |
|
Jason Lee
|
f93e9a9475
|
editor: Change to pass cursor as offset for completions method. (#1271)
And to support `filter_text` as completion item highlight match.
|
2025-09-22 16:29:51 +08:00 |
|
Jason Lee
|
62748aad9b
|
editor: Update CompletionProvider return type. (#1270)
|
2025-09-22 14:31:21 +08:00 |
|
Jason Lee
|
aa0f6d6222
|
editor: Improve range_to_utf16 and range_from_utf16 by use Rope. (#1268)
Now, we can work on 200K lines (editing).
--------
Now, all cost are on tree-sitter parse.
<img width="1091" height="672" alt="image"
src="https://github.com/user-attachments/assets/b111bc58-1334-40b2-9920-7006ad86bb3c"
/>
|
2025-09-22 14:07:30 +08:00 |
|