Графік комітів
2 Коміти
Автор SHA1 Повідомлення Дата
l0ng-ai 85e03f72ee fix(editor): coalesce mouse selection updates during fast drags (#8260)
Fast mouse drags could hit-test, redraw the selection and recalculate edge scrolling several times before the editor painted a frame. The first move now responds immediately, later moves in the same frame share one update, and releasing the button applies the last pending position (patch to @codemirror/view).
2026-12-06 02:19:15 +08:00
xiaowu0203 182285647e fix(editor): make rectangular mouse selection configurable (#4020)
The rectangular drag gestures were hard-coded, and a middle-button press
navigated immediately, which cut off a middle drag. A new keymap action,
Create Rectangular Selection on Mouse Drag (Alt+Left and Middle by default),
now decides the gesture; middle-click navigation fires on release when the
mouse did not move. Linux keeps middle-button paste unless the user binds the
middle button explicitly, and the mouse shortcut recorder accepts modified
middle clicks.

Closes #3713

Co-authored-by: xiaowu0203 <[email protected]>
2026-11-17 23:22:56 +08:00