Changeset 12695
- Timestamp:
- Aug 26, 2009, 1:10:11 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/source/cocoa-ide/cocoa-editor.lisp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/cocoa-ide/cocoa-editor.lisp
r12691 r12695 2713 2713 (hi::note-modeline-change (hemlock-buffer self)))) 2714 2714 2715 #-cocotron 2715 2716 (objc:defmethod (#/prepareSavePanel: :<BOOL>) ((self hemlock-editor-document) 2716 2717 panel) … … 3053 3054 (objc:defmethod (#/runModalOpenPanel:forTypes: :<NSI>nteger) 3054 3055 ((self hemlock-document-controller) panel types) 3055 (let* ( (popup (build-encodings-popup self #|preferred|#)))3056 (#/setAccessoryView: panel popup)3056 (let* (#-cocotron (popup (build-encodings-popup self #|preferred|#))) 3057 #-cocotron (#/setAccessoryView: panel popup) 3057 3058 (let* ((result (call-next-method panel types))) 3058 3059 (when (= result #$NSOKButton) 3060 #-cocotron 3059 3061 (with-slots (last-encoding) self 3060 (setq last-encoding (nsinteger-to-nsstring-encoding (#/tag (#/selectedItem popup)))))) 3062 (setq last-encoding 3063 (nsinteger-to-nsstring-encoding (#/tag (#/selectedItem popup)))))) 3061 3064 result))) 3062 3065
Note:
See TracChangeset
for help on using the changeset viewer.
