From 84f0776f17e762c7fd70545b1b034793a4e080fb Mon Sep 17 00:00:00 2001 From: Mark Polesky Date: Tue, 17 Jun 2014 15:11:31 -0700 Subject: [PATCH] Issue 3952: Automatically sort props within each grob-interface. Ensures that "User settable properties" and "Internal properties" are listed in sorted order in the "Graphical Object Interfaces" section of the IR. --- scm/document-backend.scm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/scm/document-backend.scm b/scm/document-backend.scm index d9ec2b00b5..406f09aacb 100644 --- a/scm/document-backend.scm +++ b/scm/document-backend.scm @@ -176,6 +176,16 @@ node." (cons (cons key val) prior)) '() (ly:all-grob-interfaces))) +;; sort user-settable and internal props within each grob-interface +(set! interface-description-alist + (map! (lambda (iface-desc) + (let* ((key-name-docstr (list-head iface-desc 3)) + (props (list-tail iface-desc 3)) + (sorted-props (list (sort (car props) ly:symbol-ci