Bug 575942 - "Home" & "End" don't work anymore in text editors
Summary: "Home" & "End" don't work anymore in text editors
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 4.22   Edit
Hardware: All All
: P3 critical (vote)
Target Milestone: 4.22 M1   Edit
Assignee: Mickael Istria CLA
QA Contact:
URL:
Whiteboard:
Keywords: regression
Depends on:
Blocks: 466532
  Show dependency tree
 
Reported: 2021-09-13 04:07 EDT by Andrey Loskutov CLA
Modified: 2021-11-18 14:11 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Loskutov CLA 2021-09-13 04:07:38 EDT
Another regression from bug 466532 commit http://git.eclipse.org/c/platform/eclipse.platform.text.git/commit/?id=bf5933129b8eb15b5b7cdefa781eacc1c4a5e3b9

Switching to previous commit fixes the issue.

Open plain text editor and have a line that is longer as visible editor area, so the scrollbar is shown, like this below:

start hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello hello end

Assuming the cursor is at first character, and the "end" text is invisible:

1) Hit "End" key (mapped to "Line End") - nothing happens except that cursor disappears. Expectation: text is scrolled to see "end" text.
2) Now scroll manually to the right side - the cursor is at last line character. Hit "Home" key (mapped to "Line Start") - again, cursor disappears but nothing else happens. Expectation: text is scrolled to see "start" text.

This breaks ba sic text navigation in all text editors => blocker.
Comment 1 Mickael Istria CLA 2021-09-13 04:10:01 EDT
I also noticed it; it seems like the caret moves as expected but the "reveal" part is missing after home/end.
Comment 2 Eclipse Genie CLA 2021-09-13 05:48:01 EDT
New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.text/+/185367