edbee/edbee-lib

Feature request: middle mouse button scrolling

Opened this issue · 3 comments

Kebap commented

Can we have some help to quickly scroll editor with just one mouse drag?

  • Say a document is too large for one editor view
  • Press and hold middle mouse button
  • No scrolling available today
  • After feature has been added, dragging up/down will scroll editor pane up/downwards. Dragging left/right will do same sideways.

Try it in your friendly browser window for comparison. E.g. with a long page document, or in an editor area that holds too much content.

@Kebap I don't see this behaviour anywhere in any app on my Mac?
For example VSCode, middle mouse dragging results in column-selection.
Is this Windows specific?

Kebap commented

Yeah, after some web searches, this indeed seems Windows specific, where it's available on operating-system-level, even though many applications (like browsers, text editors, etc.) seem to implment it on an per-app-level as well to function cross-platform.

Some related pages I found:

I don't think this is very important to implement for now in edbee itself.

  • behaviour is non-standard (other compontents/widgets don't behave like this)
  • mouse wheels are very common and are supported
  • Maybe other middle-mouse button functionality should be implemented in edbee (don't really know what 'the' standard is for middle mouse button)