Changeset 14892
- Timestamp:
- Jul 19, 2011, 9:15:32 AM (13 years ago)
- File:
-
- 1 edited
-
trunk/source/cocoa-ide/hemlock/src/lispmode.lisp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/cocoa-ide/hemlock/src/lispmode.lisp
r14737 r14892 2312 2312 (insert-character point #\Space) 2313 2313 (pre-command-parse-check point) 2314 (with-mark ((mark1 point) 2315 (mark2 point)) 2316 (when (backward-up-list mark1) 2317 (when (form-offset (move-mark mark2 (mark-after mark1)) 1) 2318 (with-mark ((mark3 mark2)) 2319 (do* () 2320 ((mark= mark3 point) 2321 (let* ((fun-name (region-to-string (region mark1 mark2))) 2322 (arglist-string 2323 (string-to-arglist fun-name (current-buffer) t))) 2324 (when arglist-string 2325 (message "~a" arglist-string)))) 2326 (if (ccl::whitespacep (next-character mark3)) 2327 (mark-after mark3) 2328 (return nil))))))))) 2314 (with-mark ((m point)) 2315 (when (backward-up-list m) 2316 (when (and (scan-char m :lisp-syntax :open-paren) 2317 (mark-after m)) 2318 (with-mark ((n m)) 2319 (forward-form n) 2320 (let* ((fun-name (region-to-string (region m n))) 2321 (arglist-string (string-to-arglist fun-name (current-buffer) t))) 2322 (when arglist-string 2323 (message "~a" arglist-string))))))))) 2329 2324 2330 2325 (hi:defcommand "Show Callers" (p)
Note:
See TracChangeset
for help on using the changeset viewer.
