- Timestamp:
- May 20, 2007, 9:11:55 AM (18 years ago)
- File:
-
- 1 edited
-
branches/ide-1.0/ccl/examples/cocoa-window.lisp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/ide-1.0/ccl/examples/cocoa-window.lisp
r6251 r6587 256 256 ;; Clear existing tab stops. 257 257 (#/setTabStops: p (#/array ns:ns-array)) 258 (do* ((i 1 (1+ i))) 259 ((= i 100) p) 260 (let* ((tabstop (make-instance 261 'ns:ns-text-tab 262 :with-type #$NSLeftTabStopType 263 :location (* (* i *tab-width*) 264 charwidth)))) 265 (#/addTabStop: p tabstop) 266 (#/release tabstop))))) 258 ;; And set the "default tab interval". 259 (#/setDefaultTabInterval: p (float (* *tab-width* charwidth) +cgfloat-zero+)) 260 p)) 267 261 268 262 (defun create-text-attributes (&key (font (default-font))
Note:
See TracChangeset
for help on using the changeset viewer.
