Changeset 12565


Ignore:
Timestamp:
Aug 11, 2009, 6:40:16 PM (10 years ago)
Author:
gz
Message:

Go back to using hi::move-to-absolute-position in move-hemlock-mark-to-absolute-position, since it's now quite fast

File:
1 edited

Legend:

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

    r12557 r12565  
    394394  ;; TODO: figure out if updating the cache matters, and if not, use hi:move-to-absolute-position.
    395395  (let* ((hi::*current-buffer* (buffer-cache-buffer cache)))
    396     ;;(hi::move-to-absolute-position mark abspos)
    397     ;;#+rme-deletion
     396    (hi::move-to-absolute-position mark abspos)
     397    #+old
    398398    (multiple-value-bind (line idx) (update-line-cache-for-index cache abspos)
    399399      #+debug
     
    10851085        (unless (eventqueue-abort-pending-p self)
    10861086          (hi::handle-hemlock-event view #k"leftdown")))))
    1087   (call-next-method event))
    1088 
    1089 #+GZ
    1090 (objc:defmethod  (#/mouseUp: :void) ((self hemlock-textstorage-text-view) event)
    1091   (log-debug "~&MOUSE UP!!")
    10921087  (call-next-method event))
    10931088
Note: See TracChangeset for help on using the changeset viewer.