PR# 5437 Shift+End selects too much text

Problem Report Summary
Submitter: peter_gummer
Category: EiffelStudio
Priority: Medium
Date: 2005/08/14
Class: Bug
Severity: Serious
Number: 5437
Release: 5.6.1204
Confidential: No
Status: Closed
Responsible:
Environment: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6
Synopsis: Shift+End selects too much text

Description
Typing Shift+End when the cursor is sitting at the start of a line selects the whole line.

It should select all of the text on the line: not the whole line.

I consider this quite serious. The EiffelStudio editor is already weak enough in features that many of us are tempted to edit in an external editor. Misbehaviour of basic functionality like this just increases the temptation. I want the editor to help me, not fight against me.
To Reproduce
1. Open a class in the editor.

2. Place the cursor on a line containing some text.

3. Type Home to place the cursor at the start of the line.

4. Type Shift+End to select all of the text on the line, but not the whole line. NOTE THAT THE WHOLE LINE IS IN FACT WRONGLY SELECTED, as if shift+Down had been typed.

5. Hit Delete: note that the whole line is indeed wrongly deleted, instead of just the text on the line.
Problem Report Interactions
From:ted_eiffel    Date:2007/02/12    Status: Closed    Download   
This is actually not a bug. From the code, it was our intention. Since Shift + Down does the same thing, it doesn't make sense to keep this "smart" behavior. Now it works as you expect.
Thanks for reporting.

From:peter_gummer    Date:2007/02/10    Status: Analyzed    Download   
I'm not sure whether this problem report was closed in error, but the problem is still occurring in EiffelStudio 6.0.66451. It's really annoying.

Maybe it was closed because Patrick may have followed my steps verbatim in 5.7. I you follow the original steps, then the problem of course does not occur in 5.7 and 6.0, because hitting Home no longer takes you to the start of the line. You have to hit Home twice.

From:patrickr    Date:2006/08/22    Status: Closed    Download   
Seems to have been fixed some time ago.

From:peter_gummer    Date:2005/11/11    Download