Changeset 668
- Timestamp:
- Mar 18, 2004, 4:44:46 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/ccl/hemlock/src/command.lisp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ccl/hemlock/src/command.lisp
r629 r668 64 64 With prefix argument, insert the character that many times." 65 65 "Reads a key-event from *editor-input* and inserts it at the point." 66 (let ((char (hemlock-ext:key-event-char (get-key-event *editor-input* t))) 67 (point (current-point))) 68 (unless char (editor-error "Can't insert that character.")) 69 (if (and p (> p 1)) 70 (insert-string point (make-string p :initial-element char)) 71 (insert-character point char)))) 66 (setf (hi::command-interpreter-info-function hi::*current-command-info*) 67 #'(lambda (key-event) 68 (let* ((char (hemlock-ext:key-event-char key-event)) 69 (point (current-point))) 70 (unless char (editor-error "Can't insert that character.")) 71 (if (and p (> p 1)) 72 (insert-string point (make-string p :initial-element char)) 73 (insert-character point char)))))) 72 74 73 75 (defcommand "Forward Character" (p)
Note:
See TracChangeset
for help on using the changeset viewer.
