Ignore:
Timestamp:
Sep 2, 2014, 8:24:28 PM (7 years ago)
Author:
rme
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/cocoa-ide/cocoa-listener.lisp

    r16063 r16184  
    577577          (#/setBackgroundLayoutEnabled: layout nil))))
    578578    (#/setDelegate: window controller)
    579     (#/setDelegate: (text-pane-text-view (slot-value window 'pane)) self)
     579    (#/setDelegate: (text-pane-text-view (slot-value window 'pane)) controller)
    580580    (setf (slot-value controller 'sequence)
    581581          (slot-value self 'dupcount))
Note: See TracChangeset for help on using the changeset viewer.