Jason Lee
|
f2cbc16655
|
chore: Update to use Rust edition 2024. (#1669)
|
2025-11-24 14:38:43 +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
|
ee40f65fb5
|
markdown: Add to support LinkReference and Footnote. (#1201)
|
2025-09-03 16:39:17 +08:00 |
|
Jason Lee
|
74b3aa7e67
|
text_view: Add to support selection. (#1169)
### Links
Maybe we can do it in TextLayout in GPUI:
fda6eda3c2/crates/gpui/src/elements/text.rs (L309)
## Demo
https://github.com/user-attachments/assets/abbebee7-df8f-4067-86a7-15bc1a4c44cd
## Todo
- [x] Test for HTML View.
- [x] CodeBlock selection support.
- [x] Selection lines sometimes incorrect.
- [x] Listener Bounds changed to unselect.
|
2025-08-28 18:09:30 +08:00 |
|