Open Bug 896340 Opened 7 years ago Updated 7 years ago

Change selectWord / selectLine to be directionless

Categories

(Core :: Widget: Cocoa, enhancement)

All
macOS
enhancement
Not set
normal

Tracking

()

People

(Reporter: jryans, Unassigned)

References

Details

In bug 282907, support was adding to map the selectLine: and selectWord: selectors (among others) to Gecko editor motions.

However, they are only approximations of what happens in other Cocoa applications because the motion is supposed to be "directionless".  From bug 282097 comment 79, which has more detail:

If I define a custom binding for selectLine, I can use that inside TextEdit, and in there I am able to expand my selection either up or down after invoking selectLine (perhaps using line motions like moveDownAndModifySelection / moveUpAndModifySelection, also known as Shift + Up and Shift + Down), and this second motion determines the "direction" of future selection modifications.  Safari also displays this behavior in an editable field.

It seems likely that fixing this will require support for this type of motion in the Editor.
You need to log in before you can comment on or make changes to this bug.