gwideman
gwideman

Reputation: 3016

In Delphi 11.3 IDE Editor how do I disable unwanted scrolls on double-click?

I'm struggling with a very disruptive behavior in Delphi Alexandria 11.3 IDE editor.

When I double-click an identifier, often, but not always, the editor jumps up or down, positioning that identifier at some other vertical position on the page.

I have not detected a pattern regarding which identifiers provoke this behavior, though if an identifier does this, it seems to do it everywhere in the file.

As for the location to which the editor jumps/scrolls, often it seems to scroll the identifier so that it's at the vertical middle of the screen. That leads me to suspect that I have some unwanted fancy scrolling feature enabled. But the final position is not always in the vertical middle, so maybe not.

Any idea how to get this under control? Thanks.

Upvotes: 5

Views: 343

Answers (2)

Paul P
Paul P

Reputation: 11

Here is what I've observed so far: the jumping occurs when there was an incremental search previously activated by Ctrl+E:

  • press Ctrl+E, find whatever you are looking for, do whatever you want do with it, forget about it;

  • some time later, click on some other unrelated word to highlight all occurrences of it. Boom, it jumps to the next occurrence (which is sometimes at the far bottom of the file)

Workaround: Press Ctrl+F to enter regular, non-incremental search. (No need to actually search for anything) That's it. Jumping majically disappears (until you use Ctrl+E again, which, for me, is the major way of navigating my code).

And yes, this is the most annoying thing I have ever seen in my entire life.

Upvotes: 1

Go to the IDE options and set the highlight word options to none:

Options->User Interface->Editor->Highlight words = None

Upvotes: 5

Related Questions