Commit graph

13 commits

Author SHA1 Message Date
25a719382f
fix: store button click locations as signed values 2025-10-10 16:05:50 +02:00
ce87dcfa2b
refactor: pass relative click position to button click handlers
This a big refactor just to clean-up type definitions used by Button and Menu.
The goals is to pass the click position as a cursor object.
2025-10-09 19:11:25 +02:00
3c55ed876b
refactor: allow mocking of root module functions for easier unittesting 2025-10-08 14:18:03 +02:00
9ea32d46e2
feat: preparations for additionalTextEdits support in completions 2025-10-02 22:51:01 +02:00
6ec8aae94a
fix: translate byte offsets to columns when applying completions 2025-10-02 16:27:47 +02:00
6ae176a8ac
refactor: add selection_pos_to_width and get_replace_selection functions 2025-10-02 16:27:16 +02:00
778907c513
fix: ignore empty replacement selections for completion 2025-10-02 15:00:00 +02:00
b1e5b2f80f
fix: never set completion selection to an empty range 2025-10-01 22:02:21 +02:00
b02f096fef
feat: set the initial completion query based on the cursor position 2025-10-01 21:55:12 +02:00
03c82999b8
feat: select replacement range during completion 2025-10-01 21:28:32 +02:00
bf0d4402ea
refactor: lots more writergate fixes - first successful build 2025-09-25 22:01:29 +02:00
9bdc3e0a0a
fix: handle completion items with no type icon
superhtml fix
2025-09-13 20:06:44 +02:00
057a9d60cd
feat: add completion palette 2025-08-15 23:30:54 +02:00