Skip to content

CDT Editor split screen problem #2142

@jarsudsco

Description

@jarsudsco

I have a problem when editing source code files in the CDT editor. I often use split-screen mode and recently noticed that one window I was using as a reference would suddenly jump to the same position (or close to) the part of the file I was actually typing into in the other window.

This was actually on 2024-03 and I hadn't noticed the usual quarterly update hadn't happened. So did an update, now I have 2024-06. The issue persists but is NOT consistent (as before) - it does not happen every time. It also sometimes happens when clicking save.

Steps required to reproduce (unpredictably) are:

  • Edit source file
  • Menu->Window->Editor->Toggle Split Editor (Horizontal)
  • Scroll one or both windows to different parts of the file
  • Type in one window - the other will jump to the roughly the same position (I think it puts the insertion point on the second line of the "hijacked" window.)

This happens roughly 50% of the time I'd say.

Setup: Windows 10 version 22H2, openjdk 22.0.1 2024-04-16, Eclipse Version: 2024-06 (4.32.0) Build id: 20240606-1231

I'm not sure it's relevant but I've also noticed when using "refactor" as soon as I change the symbol I want to rename that line jumps to the bottom of the window. It seems like a similar positioning error and for refactoring is new behaviour I think.

Not sure what else to include, but happy to supply any other info that might help.

Cheers,

Suds

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions