Changeset 587
- Timestamp:
- Feb 28, 2004, 1:23:22 AM (21 years ago)
- Location:
- trunk/ccl/hemlock/src
- Files:
-
- 8 edited
-
bindings.lisp (modified) (2 diffs)
-
cocoa-hemlock.lisp (modified) (1 diff)
-
filecoms.lisp (modified) (1 diff)
-
htext1.lisp (modified) (1 diff)
-
htext3.lisp (modified) (3 diffs)
-
modeline.lisp (modified) (1 diff)
-
streams.lisp (modified) (2 diffs)
-
struct.lisp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ccl/hemlock/src/bindings.lisp
r569 r587 65 65 (bind-key "Scroll Next Window Up" #k"control-meta-V") 66 66 67 (bind-key "Process File Options" #k"control- meta-m")68 (bind-key "Ensure File Options Line" #k"control-meta-M" )67 (bind-key "Process File Options" #k"control-x m" :global) 68 (bind-key "Ensure File Options Line" #k"control-meta-M" :global) 69 69 (bind-key "Help" #k"home") 70 70 (bind-key "Help" #k"control-_") … … 90 90 (bind-key "Find File" #k"control-x control-f") 91 91 (bind-key "Backup File" #k"control-x meta-b") 92 (bind-key "Save All Files" #k"control-x control-m")93 (bind-key "Save All Files" #k"control-x return")94 (bind-key "Save All Files and Exit" #k"control-x meta-z")92 ;(bind-key "Save All Files" #k"control-x control-m") 93 ;(bind-key "Save All Files" #k"control-x return") 94 ;(bind-key "Save All Files and Exit" #k"control-x meta-z") 95 95 96 96 (bind-key "List Buffers" #k"control-x control-b") -
trunk/ccl/hemlock/src/cocoa-hemlock.lisp
r569 r587 33 33 (setq *current-window* new-window)) 34 34 35 ;;; This is a public variable. 36 ;;; 37 (defvar *last-key-event-typed* () 38 "This variable contains the last key-event typed by the user and read as 39 input.") 40 41 (defvar *input-transcript* ()) -
trunk/ccl/hemlock/src/filecoms.lisp
r569 r587 235 235 (funcall (cdr hook) buffer type) 236 236 (setq mode (buffer-major-mode buffer))))) 237 (with-mark ((mark (buffer-start-mark buffer) ))237 (with-mark ((mark (buffer-start-mark buffer) :left-inserting)) 238 238 (if (string-equal mode "Lisp") 239 239 (let* ((package-name -
trunk/ccl/hemlock/src/htext1.lisp
r569 r587 191 191 (buffer-unmodified-tick ,b)) 192 192 (invoke-hook hemlock::buffer-modified-hook ,b t)) 193 (setf (buffer-modified -tick ,b) (tick)))193 (setf (buffer-modified ,b) t)) 194 194 (unwind-protect 195 195 (progn -
trunk/ccl/hemlock/src/htext3.lisp
r569 r587 71 71 (declare (simple-string string)) 72 72 (unless (zerop (- end start)) 73 (modifying-buffer 74 buffer 75 (modifying-line line mark) 76 (if (%sp-find-character string start end #\newline) 77 (with-mark ((mark mark :left-inserting)) 73 (if (%sp-find-character string start end #\newline) 74 (with-mark ((mark mark :left-inserting)) 78 75 (do ((left-index start (1+ right-index)) 79 76 (right-index … … 85 82 (insert-string mark string left-index right-index) 86 83 (insert-character mark #\newline))) 84 (modifying-buffer 85 buffer 86 (modifying-line line mark) 87 87 (let ((length (- end start))) 88 88 (if (<= *right-open-pos* (+ *left-open-pos* end)) … … 99 99 (let ((new (+ *left-open-pos* length))) 100 100 (%sp-byte-blt string start *open-chars* *left-open-pos* new) 101 (setq *left-open-pos* new))))) )102 (buffer-note-insertion buffer mark (- end start))))))101 (setq *left-open-pos* new))))) 102 (buffer-note-insertion buffer mark (- end start))))))) 103 103 104 104 -
trunk/ccl/hemlock/src/modeline.lisp
r569 r587 219 219 "This is the default value for \"Default Modeline Fields\".") 220 220 221 (defun %init-redisplay () 222 (add-hook hemlock::buffer-major-mode-hook 'queue-buffer-change) 223 (add-hook hemlock::buffer-minor-mode-hook 'queue-buffer-change) 224 (add-hook hemlock::buffer-name-hook 'queue-buffer-change) 225 (add-hook hemlock::buffer-pathname-hook 'queue-buffer-change) 226 (add-hook hemlock::buffer-modified-hook 'queue-buffer-change) 227 (add-hook hemlock::window-buffer-hook 'queue-window-change)) 228 229 (defun queue-buffer-change (buffer &optional something-else another-else) 230 (declare (ignore something-else another-else)) 231 (dolist (w (buffer-windows buffer)) 232 (invalidate-modeline w))) -
trunk/ccl/hemlock/src/streams.lisp
r6 r587 228 228 ;;;; Stuff to support keyboard macros. 229 229 230 #+later 231 (progn 232 230 233 (defstruct (kbdmac-stream 231 234 (:include editor-input … … 262 265 (setf (kbdmac-stream-buffer stream) input) 263 266 stream) 267 ) -
trunk/ccl/hemlock/src/struct.lisp
r569 r587 104 104 (delete-hook nil) ; List of functions to call upon deletion. 105 105 (external-format :unix) ; Line-termination, for the time being 106 process ; Maybe a listener 106 107 ) 107 108
Note:
See TracChangeset
for help on using the changeset viewer.
