Changeset 6775
- Timestamp:
- Jun 20, 2007, 11:34:34 AM (17 years ago)
- File:
-
- 1 edited
-
branches/ide-1.0/ccl/hemlock/src/morecoms.lisp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/ide-1.0/ccl/hemlock/src/morecoms.lisp
r6755 r6775 435 435 "Print info on current point position" 436 436 (declare (ignore p)) 437 (time438 437 (let* ((point (current-point)) 439 438 (current-line (mark-line point))) 440 439 (let* ((line-number (do* ((l 1 (1+ l)) 441 (mark-line ( mark-line point) (line-previous mark-line)))440 (mark-line (line-previous (mark-line point)) (line-previous mark-line))) 442 441 ((null mark-line) l))) 443 442 (charpos (mark-charpos point)) … … 446 445 (size (count-characters (buffer-region (current-buffer))))) 447 446 (message "Char: ~s point = ~d of ~d(~d%) line ~d column ~d" 448 char abspos size (round (/ (* 100 abspos) size)) line-number charpos)))) )447 char abspos size (round (/ (* 100 abspos) size)) line-number charpos)))) 449 448 450 449
Note:
See TracChangeset
for help on using the changeset viewer.
