]> git.donarmstrong.com Git - lilypond.git/commitdiff
Fix erroneous comment signs in scm/clip-region.scm
authorMarc Hohl <marc@hohlart.de>
Mon, 12 Nov 2012 09:08:23 +0000 (10:08 +0100)
committerMarc Hohl <marc@hohlart.de>
Mon, 12 Nov 2012 09:10:47 +0000 (10:10 +0100)
scm/clip-region.scm

index 3585a12bc3805b4c1cfd9e8a1d4cbd96cc2c7658..890cb657e3d263af8042a3e10e64e5e3d376919b 100644 (file)
 ;;
 ;;
 ;;     (define-public (make-rhythmic-location bar-num num den)
-;:     (define-public (rhythmic-location? a)
+;;     (define-public (rhythmic-location? a)
 ;;     (define-public (make-graceless-rhythmic-location loc)
 ;;     (define-public rhythmic-location-measure-position cdr)
 ;;     (define-public rhythmic-location-bar-number car)
 ;;     (define-public (rhythmic-location<? a b)
-;:     (define-public (rhythmic-location<=? a b)
-;:     (define-public (rhythmic-location>=? a b)
+;;     (define-public (rhythmic-location<=? a b)
+;;     (define-public (rhythmic-location>=? a b)
 ;;     (define-public (rhythmic-location>? a b)
-;:     (define-public (rhythmic-location=? a b)
+;;     (define-public (rhythmic-location=? a b)
 ;;     (define-public (rhythmic-location->file-string a)
 ;;     (define-public (rhythmic-location->string a)
 
 ;;
 ;; the total of this will be
 ;; O(#systems * #regions)
-;; 
+;;
 ;; we can actually do better by sorting the regions as well,
 ;; but let's leave that for future extensions.
 ;;
 (define-public (system-clipped-x-extent system-grob clip-region)
   "Return the X-extent of @var{system-grob} when clipped with
 @var{clip-region}.  Return @code{#f} if not appropriate."
-  
+
   (let*
       ((region-start (car clip-region))
        (columns (ly:grob-object system-grob 'columns))
        (region-end (cdr clip-region))
        (found-grace-end  #f)
-       (candidate-columns 
+       (candidate-columns
        (filter
         (lambda (j)
           (let*
@@ -66,7 +66,7 @@
                (loc (ly:grob-property column 'rhythmic-location))
                (grace-less (make-graceless-rhythmic-location loc))
                )
-               
+
             (and (rhythmic-location? loc)
                  (rhythmic-location<=? region-start loc)
                  (or (rhythmic-location<? grace-less region-end)
@@ -76,9 +76,9 @@
                           )))
 
             ))
-        
+
         (iota (ly:grob-array-length columns))))
-       
+
        (column-range
        (if (>= 1 (length candidate-columns))
            #f
                   system-grob
                   (ly:grob-array-ref columns (car column-range)))
               system-grob X))
-            
+
             (interval-end
              (ly:grob-robust-relative-extent
              (if (= (1- (ly:grob-array-length columns)) (cdr column-range))
                  system-grob
                  (ly:grob-array-ref columns (cdr column-range)))
              system-grob X)))
-           
-           
+
+
            #f
            )))
-    
+
     clipped-x-interval))