Jason Lee
|
cc0f936348
|
tiles: Add tile_radius theme option and default 0px. (#1441)
|
2025-10-28 02:54:41 +00:00 |
|
Floyd Wang
|
183d17731d
|
Bump v0.3.1
|
2025-10-27 13:52:29 +08:00 |
|
Jason Lee
|
6ebb9418a0
|
editor: Use measure_indent_width for indent guides width. (#1428)
Continue #1426, this changes I was forgotten to push before #1426
merged.
|
2025-10-24 20:18:30 +08:00 |
|
Jason Lee
|
178269be63
|
editor: Add indent guides. (#1426)
<img width="1070" height="1006" alt="image"
src="https://github.com/user-attachments/assets/a456b055-b45f-45ae-84b0-452a952cc19c"
/>
|
2025-10-24 19:03:09 +08:00 |
|
Jason Lee
|
ab7af9c01d
|
Bump v0.3.0
|
2025-10-24 10:47:04 +08:00 |
|
Jason Lee
|
6dd857a7f7
|
input: Fix may flash scroll when move cursor in auto grow mode. (#1419)
|
2025-10-23 17:43:33 +08:00 |
|
Floyd Wang
|
b80fca28c1
|
Bump v0.3.0-preview2
|
2025-10-23 16:36:23 +08:00 |
|
Jason Lee
|
17ec395853
|
Bump v0.3.0-preview0
|
2025-10-17 10:37:49 +08:00 |
|
Jason Lee
|
f16487a2cb
|
chore: Fix license link in crate meta. (#1393)
Close #1392
|
2025-10-17 10:32:09 +08:00 |
|
Jason Lee
|
1adaf3ec55
|
tree: Add Tree. (#1373)
Close #318
https://github.com/user-attachments/assets/1fed12e2-df53-4213-a3f5-c57bd8b4cadb
|
2025-10-15 18:39:47 +08:00 |
|
Copilot
|
4fef96e407
|
story: Fix story panic when save state failed. (#1384)
Close #1383
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: huacnlee <5518+huacnlee@users.noreply.github.com>
|
2025-10-15 08:20:44 +00:00 |
|
han
|
1bc5ff03df
|
story: Add interactive brush drawing canvas (#1370)
<img width="2175" height="1358" alt="image"
src="https://github.com/user-attachments/assets/41716d72-655f-440a-ac9e-cdb91e1b4417"
/>
---------
Co-authored-by: hl <hl@nmcsoft.com>
|
2025-10-15 15:27:59 +08:00 |
|
Jason Lee
|
59f4e26c7b
|
input: Fix Input panics when masked have non-ASCII characters. (#1382)
Close #1377
|
2025-10-15 07:15:50 +00:00 |
|
Jason Lee
|
0c0c36cb87
|
menu: Fix trigger action with context. (#1372)
Fix previous #1338 broken trigger action with context.
|
2025-10-14 19:58:11 +08:00 |
|
Floyd Wang
|
47978bc50e
|
button: Support specified anchor to dropdown button (#1367)
|
2025-10-14 11:19:22 +08:00 |
|
Jason Lee
|
5b2fed0ccb
|
markdown: Use list for Markdown render and add scrollbar. (#1357)
|
2025-10-13 22:06:07 +08:00 |
|
Jason Lee
|
2574e7f812
|
story: Add open file to Markdown and Editor example. (#1363)
Close #1352
|
2025-10-13 11:52:16 +08:00 |
|
Jason Lee
|
97df4efd46
|
input: Fix set_value when Input is disabled. (#1362)
Close #1350
|
2025-10-13 11:15:32 +08:00 |
|
Sunli
|
8a63fd67ab
|
chore: Fix webview example (#1360)
|
2025-10-13 10:10:35 +08:00 |
|
Martí Gimeno Ortí
|
32b8d65075
|
plot: Add StepAfter kind to StokeStrike (#1356)
Implements new `StokeStrike::StepAfter` for plot component
<img width="1700" height="1030" alt="step-after-plot-stoke-style"
src="https://github.com/user-attachments/assets/89252ba9-2834-4c9a-9020-7977ffea6865"
/>
|
2025-10-13 09:59:51 +08:00 |
|
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 |
|
ihavecoke
|
9d01ac26bc
|
menu: Fix submenu item selection when multiple submenus exist (#1342)
Before:
https://github.com/user-attachments/assets/8653953e-4e9d-49e6-946a-1696ea6abee0
After:
https://github.com/user-attachments/assets/f5bfbf19-69e1-4e64-81c1-072c61e8a8f7
---------
Co-authored-by: Jason Lee <huacnlee@gmail.com>
|
2025-10-09 21:32:51 +08:00 |
|
Floyd Wang
|
7a8be9a628
|
button: Add Support for on_hover event (#1341)
|
2025-10-09 18:43:50 +08:00 |
|
Jason Lee
|
ca9d5b77e2
|
chore: Release v0.2.0
|
2025-10-09 15:21:10 +08:00 |
|
Jason Lee
|
6ca9ac46fa
|
chore: Bump crate version. (#1340)
|
2025-10-09 15:20:34 +08:00 |
|
Jason Lee
|
d0396d779e
|
editor: Add document_colors LSP. (#1329)
|
2025-10-06 18:08:12 +08:00 |
|
Floyd Wang
|
1358b2906e
|
Bump gpui (#1324)
* Wireup the `Pixels` change
https://github.com/zed-industries/zed/pull/39367.
|
2025-10-03 14:32:29 +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 |
|
Jason Lee
|
e84e8ebaad
|
button: Fix button label display has overflow hidden. (#1322)
|
2025-10-03 10:18:00 +08:00 |
|
Carlo Corradini
|
908c022efe
|
chore: Assets interpolate folder path via rust embed (#1318)
Use `rust-embed` feature `interpolate-folder-path` to always
(`debug`/`release`) load assets from the correct `assets` directory
|
2025-10-02 16:04:33 +08:00 |
|
Jason Lee
|
935cd93f5a
|
chore: Fix rust logo URL in test.md.
|
2025-09-30 16:29:56 +08:00 |
|
Jason Lee
|
f92944546f
|
chore: Disable tab stop for some popover elements. (#1306)
|
2025-09-29 18:11:25 +08:00 |
|
Jason Lee
|
5e504d10bb
|
chore: Refactor tab key to switch focus. (#991)
Wait https://github.com/zed-industries/zed/pull/33008,
https://github.com/zed-industries/zed/pull/34804 to merge.
https://github.com/user-attachments/assets/3c21ebc9-44a0-4311-bb0f-5f63fe8d4bb3
- Improved `focus_ring` to render like an outline.
- Added to support press `Enter`, `Space` key to trigger Checkbox,
Button, Radio.
## Break Changes
- The `FocusableExt` has been changed to only for crate internal.
- The `FocusableCycle` has been removed, now GPUI has it own tab stop
implementation.
|
2025-09-29 16:48:24 +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
|
13e2b08873
|
editor: Improve line number width by max lines. (#1291)
|
2025-09-25 22:21:09 +08:00 |
|
Jason Lee
|
a6a14fd57b
|
input: Disable context menu item for disabled input. (#1280)
|
2025-09-25 16:36:57 +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
|
bd3bffaf67
|
editor: Fix completion width align to longest item. (#1281)
|
2025-09-24 11:43:59 +08:00 |
|
Jason Lee
|
993ce34bd8
|
editor: Avoid scroll on select all. (#1277)
- Add `replace_text_in_range_silent` for some case to avoid show
completion, for example on cut, paster ...
- Improve to only call validation, mask on single line mode.
- Improve move cursor to scroll to visible to keep edge 3 lines.
https://github.com/user-attachments/assets/ca8bcca8-a55b-4c98-af7c-7639d1c34923
- Fix `RopeExt::offset_to_position` may crash.
- Add deffered_scroll_offset to improve paste to scroll to cursor.
https://github.com/user-attachments/assets/1af09a50-37f0-47c8-8185-4b78820d064a
|
2025-09-23 15:59:48 +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 |
|
Jason Lee
|
692057f799
|
editor: Update completions to support CompletionTextEdit. (#1267)
- Fix completion menu width to longest item.
|
2025-09-22 11:39:50 +08:00 |
|
Jason Lee
|
5e7a2cb37f
|
editor: Add DefinitionProvider. (#1261)
https://github.com/user-attachments/assets/f8234a3f-3075-48ce-ae46-8ea869b6a13d
- Hold `cmd` to hover on a word to trigger definition check.
|
2025-09-19 13:49:24 +08:00 |
|
Jason Lee
|
6a817d6a05
|
editor: Add to support HoverPopover. (#1260)
<img width="725" height="631" alt="image"
src="https://github.com/user-attachments/assets/0f4aba90-82cc-43c8-916b-b4a446b8abae"
/>
|
2025-09-18 18:18:54 +08:00 |
|
Jason Lee
|
a942c57627
|
editor: Refactor the LSP config.
|
2025-09-18 14:17:18 +08:00 |
|
Jason Lee
|
3fe9bc8de0
|
example: Fix lint performance in CodeEditor example. (#1259)
Move AutoCorrect lint to background.
|
2025-09-18 11:25:53 +08:00 |
|
Jason Lee
|
8a3ef51ea1
|
input: Add to support search and replace. (#1252)
<img width="806" height="765" alt="image"
src="https://github.com/user-attachments/assets/5e2a7144-f814-4874-b9c1-89ebf5d942ec"
/>
- Close #1212 to support search for Input.
- Fix #1235 to support scroll to cursor when go to line.
|
2025-09-17 19:02:00 +08:00 |
|
Jason Lee
|
e01b139995
|
input: Fix completions API to assign Rope.
|
2025-09-17 14:37:21 +08:00 |
|
Jason Lee
|
35568124bf
|
editor: Improve CodeEditor inset and line number width. (#1255)
<img width="756" height="580" alt="image"
src="https://github.com/user-attachments/assets/5748e7b3-74de-417a-856f-5db05c66f892"
/>
|
2025-09-16 21:50:09 +08:00 |
|