Opened 12 years ago

Closed 12 years ago

#36 closed defect (fixed)

Arrow Keys don't collapse the selection

Reported by: alms Owned by: gb
Priority: major Milestone:
Component: IDE Version: 1.1
Keywords: Cc:


When text is selected in a Hemlock window, typing any of the arrow keys should collapse the selection and move the cursor to the start or end of where the selection was (in the case of the left or right arrow) or move the cursor up or down a line (in the case of the up or down arrow).

Currently typing arrow keys when text is selected extends or reduces the selection almost as if the shift key was being held down.

Change History (1)

comment:1 Changed 12 years ago by gb

  • Resolution set to fixed
  • Status changed from new to closed

This should work in general as of changeset:7007, though I may have missed some movement commands. (Editing commands that perform movement - as opposed to insertion/deletion/modification - should call HI:CURRENT-POINT-FOR-MOVEMENT; this looks at the shift modifier in the last key event to determine whether the selection should be discarded or extended.)

Note: See TracTickets for help on using tickets.