Changeset 14812 for trunk/source/cocoa-ide/hemlock/src/isearchcoms.lisp
- Timestamp:
- Jun 6, 2011, 6:22:07 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/cocoa-ide/hemlock/src/isearchcoms.lisp
r8428 r14812 134 134 "Internal variable containing current state of I-Search" 135 135 :buffer buffer)) 136 (push-new-buffer-mark (current-point)) 136 (unless (region-active-p) ; We need the selection (if there is one) to stay put! 137 (push-new-buffer-mark (current-point))) 137 138 (setf (value i-search-state) iss) 138 139 (%i-search-message iss))) … … 140 141 (defun end-isearch-mode () 141 142 (setf (buffer-minor-mode (current-buffer) "I-Search") nil)) 143 144 (defcommand "I-Search Yank Selection" (p) 145 "Pull string from current selection into search string." 146 (declare (ignore p)) 147 (let* ((iss (current-isearch-state))) 148 (i-search-extend iss (region-to-string (region (current-mark) (current-point)))))) 142 149 143 150 (defun i-search-backup (iss)
Note: See TracChangeset
for help on using the changeset viewer.