Changeset 611
- Timestamp:
- Mar 3, 2004, 2:00:01 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/ccl/examples/cocoa-editor.lisp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ccl/examples/cocoa-editor.lisp
r597 r611 439 439 ;;; small, but allows us to see more of the modeline fields (like the 440 440 ;;; full pathname) in more cases. 441 441 442 (defloadvar *modeline-text-attributes* nil) 442 (defparameter *modeline-font-name* "Courier New Bold Italic") 443 (defparameter *modeline-font-size* 10.0) 443 444 (def-cocoa-default *modeline-font-name* :string "Courier New Bold Italic") 445 (def-cocoa-default *modeline-font-size* :float 10.0) 444 446 445 447 … … 928 930 (force-output) 929 931 (send textstorage 930 :edited #$NSTextStorageEdited Characters932 :edited #$NSTextStorageEditedAttributes 931 933 :range (ns-make-range pos n) 932 934 :change-in-length (- n)) … … 1138 1140 1139 1141 (define-objc-method ((:void close) lisp-editor-document) 1140 (send-super 'close)1141 1142 (let* ((textstorage (slot-value self 'textstorage))) 1142 1143 (setf (slot-value self 'textstorage) (%null-ptr)) 1143 1144 (unless (%null-ptr-p textstorage) 1144 (close-hemlock-textstorage textstorage)))) 1145 (close-hemlock-textstorage textstorage))) 1146 (send-super 'close)) 1145 1147 1146 1148
Note:
See TracChangeset
for help on using the changeset viewer.
