Opened 8 years ago

Closed 7 years ago

Last modified 5 years ago

#1151 closed defect (fixed)

Text selection on cmd-F search does not move the cursor to the selection

Reported by: rongarret Owned by: rme
Priority: minor Milestone:
Component: IDE Version: trunk
Keywords: Cc:


This seems to be due to a change in behavior introduced in OS X somewhere between Snow Leopard and Mavericks (I can't tell you exactly where because I skipped the Lions). If you do a text search using cmd-F in a Hemlock window the cursor does not move to the selected text. So if you type something after a cmd-F search, you don't replace the selected text, but instead go back to the position in the file where you were before the search began.

Change History (6)

comment:1 Changed 8 years ago by xach

  • Owner set to xach

comment:2 Changed 7 years ago by gz

  • Milestone set to Clozure CL 1.10
  • Owner changed from xach to rme

see also ticket:1205

comment:3 Changed 7 years ago by rme

  • Status changed from new to assigned

comment:4 Changed 7 years ago by rme

(In [16184]) Ensure that the text selected via the find panel is selected by Hemlock.

Do this by setting the hemlock-text-view's delegate to the window controller, and implementing the delegate method textViewDidChangeSelection:. In that method, see if the NSTextView selection and the Hemlock seletion differ, and synch them up if needed.

See ticket:1151.

comment:5 Changed 7 years ago by rme

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

(In [16188]) Merge from trunk. Closes ticket:1151.

comment:6 Changed 5 years ago by rme

  • Milestone Clozure CL 1.10 deleted

Milestone Clozure CL 1.10 deleted

Note: See TracTickets for help on using tickets.