Changeset 12599
- Timestamp:
- Aug 16, 2009, 9:33:08 PM (15 years ago)
- Location:
- trunk/source/cocoa-ide/hemlock/src
- Files:
-
- 2 edited
-
lispmode.lisp (modified) (1 diff)
-
listener.lisp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/cocoa-ide/hemlock/src/lispmode.lisp
r12541 r12599 327 327 (:char-quote 328 328 (mark-after mark) 329 (push-range (cons (mark-charpos mark) (1+ (mark-charpos mark))) 330 line-info) 329 (let* ((charpos (mark-charpos mark)) 330 (nextpos (1+ charpos)) 331 (linelen (line-length (mark-line mark)))) 332 (when (> linelen nextpos) 333 (push-range (cons charpos nextpos) 334 line-info))) 331 335 (mark-after mark)) 332 336 -
trunk/source/cocoa-ide/hemlock/src/listener.lisp
r12545 r12599 322 322 (declare (ignore p)) 323 323 (if (point-at-prompt-p) 324 (send-input-region-to-lisp) 324 (progn 325 (if (eq (character-attribute :lisp-syntax (previous-character (buffer-end-mark (current-buffer)))) :char-quote) 326 (let* ((point (current-point))) 327 (buffer-end point) 328 (insert-character point #\newline)) 329 (send-input-region-to-lisp))) 325 330 (if (region-active-p) 326 331 (let ((selected-region (current-region nil nil)))
Note:
See TracChangeset
for help on using the changeset viewer.
