Changeset 6718
- Timestamp:
- Jun 12, 2007, 4:23:38 PM (17 years ago)
- File:
-
- 1 edited
-
branches/ide-1.0/ccl/examples/cocoa-editor.lisp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/ide-1.0/ccl/examples/cocoa-editor.lisp
r6709 r6718 1778 1778 1779 1779 (objc:defmethod (#/validateMenuItem: :<BOOL>) 1780 ((self hemlock- editor-document) item)1780 ((self hemlock-text-view) item) 1781 1781 (let* ((action (#/action item))) 1782 (#_NSLog #@"action = %s" :address action)1782 #+debug (#_NSLog #@"action = %s" :address action) 1783 1783 (if (eql action (@selector #/hyperSpecLookUp:)) 1784 1784 ;;; For now, demand a selection. 1785 (not (eql 0 (ns:ns-range-length (#/selectedRange self)))) 1785 (and *hyperspec-root-url* 1786 (not (eql 0 (ns:ns-range-length (#/selectedRange self))))) 1786 1787 (call-next-method item)))) 1787 1788
Note:
See TracChangeset
for help on using the changeset viewer.
