You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
helix-plus/helix-view/src
Dmitry Sharshakov 27b551d345
helix-term: handle scrolling when mouse is enabled (#554)
* helix-term: handle scrolling when mouse is enabled

Signed-off-by: Dmitry Sharshakov <d3dx12.xx@gmail.com>

* helix-term: configure scrolling speed

Signed-off-by: Dmitry Sharshakov <d3dx12.xx@gmail.com>

* helix-term: use new config for scrolling

Signed-off-by: Dmitry Sharshakov <d3dx12.xx@gmail.com>

* config: defaults for edtior config

Signed-off-by: Dmitry Sharshakov <d3dx12.xx@gmail.com>

* config: add scroll-lines property

Signed-off-by: Dmitry Sharshakov <d3dx12.xx@gmail.com>

* helix-term: scroll hovered view

Signed-off-by: Dmitry Sharshakov <d3dx12.xx@gmail.com>

* helix-term: support inverted scrolling

Signed-off-by: Dmitry Sharshakov <d3dx12.xx@gmail.com>

* helix-term: remove duplicating code

Signed-off-by: Dmitry Sharshakov <d3dx12.xx@gmail.com>

* helix-term: do not focus view while scrolled

Signed-off-by: Dmitry Sharshakov <d3dx12.xx@gmail.com>

* helix-term: refactor mouse events and scrolling

Signed-off-by: Dmitry Sharshakov <d3dx12.xx@gmail.com>

* simplify

Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
3 years ago
..
clipboard.rs Added native Windows clipboard support (#373) 3 years ago
document.rs Resolve a couple TODOs 3 years ago
editor.rs helix-term: handle scrolling when mouse is enabled (#554) 3 years ago
graphics.rs fix small terminal size panic with info popup (#563) 3 years ago
info.rs Allow multi key remappings in config file (#454) 3 years ago
input.rs Refactor case where key event is solely a character 3 years ago
keyboard.rs Update keyboard.rs (#516) 3 years ago
lib.rs Add infobox 3 years ago
macros.rs Replace `Editor::current` by a macro 3 years ago
register_selection.rs Implement missing Debug and update Cargo.lock 3 years ago
theme.rs Color palettes (#393) 3 years ago
tree.rs Fix typo 3 years ago
view.rs config: Rename [terminal] to [editor] and pass it into Editor 3 years ago