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
|
62e3f8126a
|
inspector: Add to support auto complete. (#1272)
<img width="1273" height="1138" alt="image"
src="https://github.com/user-attachments/assets/52a474c3-b936-468e-b56d-e3f0a4e3104d"
/>
|
2025-09-22 18:36:46 +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
|
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
|
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
|
f1b6d7c5ed
|
editor: Add completion, code_action provider. (#1242)
|
2025-09-15 19:25:02 +08:00 |
|