Jump to content
Willicious

[BUG] Mouse wheel no longer scrolls when highlighting

Recommended Posts

Steps to replicate:

 

1) Open a project in RAD Studio and open any unit that has enough lines to require vertical scrolling

2) Highlight a line of text by clicking LMB and dragging the mouse along that line

3) Use the scroll wheel to scroll vertically downwards

 

Expectation: the view will scroll down and subsequent lines will be highlighted.

 

Actual behaviour: the view remains static.

 

When releasing the LMB, the scroll wheel behaves as normal (i.e. the view is scrolled vertically).

 

Again, I might be imagining that RAD Studio has ever done this, but I've gone to do it a few times recently and it's surprised me that it hasn't worked. It may be because I've been working in Eclipse IDE which allows the expected behaviour.

 

If RAD is indeed supposed to do this, is there a setting I may have accidentally changed?

Share this post


Link to post

You're right. I have the same behavior; I never noticed it before since I don't usually select code like that. That said, you should report it on the Quality Portal instead of here.

Share this post


Link to post
4 hours ago, havrlisan said:

You're right. I have the same behavior; I never noticed it before since I don't usually select code like that. That said, you should report it on the Quality Portal instead of here.

How do you select code? If there's a better way, I'm always up for learning.

 

I'll go ahead and report it as suggested.

Share this post


Link to post
7 minutes ago, Willicious said:

How do you select code?

I use the keyboard for code and the mouse for UI design - like they were meant to 🙂 

Why would you use the mouse for code?

  • Like 1

Share this post


Link to post
6 hours ago, Anders Melander said:

I use the keyboard for code and the mouse for UI design - like they were meant to 🙂 

Why would you use the mouse for code?

Precision, I suppose. It's easier to select a single word with the mouse, Ctrl+Click jumps to method/declaration, double-click selects a full word, etc. Why would you not use the mouse for these sorts of things?

 

Also, how would you go about selecting exactly 24.5 lines using the keyboard (for example)?

Edited by Willicious

Share this post


Link to post

It's not like I never use the mouse when coding (Ctrl+Click) but I find it much more efficient to use the keyboard as much as possible instead of switching back and forth.

Selection is probably one of the things I would very rarely use the mouse for. I guess I would do word selection using Ctrl+arrow to move, Ctrl+Shift+arrow to select. etc.

 

6 hours ago, Willicious said:

Also, how would you go about selecting exactly 24.5 lines using the keyboard (for example)?

Place the caret using normal arrow navigation. Shift+up/down for selection, etc.

It's not really something I think about but the fact that I didn't know that mouse-scroll.selection didn't work tells me that it isn't something that I have tried or something that I need.

 

Anyway, we each have our own usage patterns. There's no right or wrong.

Share this post


Link to post
22 hours ago, Willicious said:

I might be imagining that RAD Studio has ever done this

I am pretty sure that this has never worked before - at least it does not in Delphi 7, Delphi XE8 or Delphi 12. So instead of filing a bug report this should probably better be a feature request.

 

Besides that, I actually have problems using the mouse wheel while pressing the left mouse button, but that can also be caused by my age.

Share this post


Link to post
1 minute ago, Uwe Raabe said:

I am pretty sure that this has never worked before - at least it does not in Delphi 7, Delphi XE8 or Delphi 12. So instead of filing a bug report this should probably better be a feature request.

Does not work in 10.2.

I just checked three other text editor programs and MS word was the only one that supported it.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×