Changeset 855
- Timestamp:
- Aug 1, 2004, 5:54:34 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ccl/examples/cocoa-editor.lisp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ccl/examples/cocoa-editor.lisp
r815 r855 1659 1659 1660 1660 1661 (define-objc-method ((:id : init-with-text-storage ts)1661 (define-objc-method ((:id :set-text-storage ts) 1662 1662 hemlock-editor-document) 1663 (let* ((doc ( send-super 'init))1663 (let* ((doc (%inc-ptr self 0)) 1664 1664 (string (send ts 'string)) 1665 1665 (cache (hemlock-buffer-string-cache string)) … … 1676 1676 (define-objc-method ((:id init) hemlock-editor-document) 1677 1677 (let* ((doc (send-super 'init))) 1678 ( when doc1678 (unless (%null-ptr-p doc) 1679 1679 (send doc 1680 : init-with-text-storage (make-textstorage-for-hemlock-buffer1681 (make-hemlock-buffer1682 (lisp-string-from-nsstring1683 (send doc 'display-name))1684 :modes '("Lisp" "Editor")))))1680 :set-text-storage (make-textstorage-for-hemlock-buffer 1681 (make-hemlock-buffer 1682 (lisp-string-from-nsstring 1683 (send doc 'display-name)) 1684 :modes '("Lisp" "Editor"))))) 1685 1685 doc)) 1686 1686
Note:
See TracChangeset
for help on using the changeset viewer.
