Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(18805)

Issue 203910043: Add Scheme function to return column associated with Item.

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 2 months ago by david.nalesnik
Modified:
9 years, 2 months ago
Reviewers:
ul
CC:
lilypond-devel_gnu.org
Base URL:
http://git.savannah.gnu.org/gitweb/?p=lilypond.git/trunk/
Visibility:
Public.

Description

Add Scheme function to return column associated with Item. The C++ function Paper_column::get_column is used frequently, and it makes sense to have a Scheme function which performs the same task. An example of a practical application is the request by users to return the location of a particular grob in a score: this is done by examining the PaperColumn or NonMusicalPaperColumn associated with the grob.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -0 lines) Patch
M lily/item-scheme.cc View 2 chunks +15 lines, -0 lines 0 comments Download

Messages

Total messages: 3
david.nalesnik
Please review.
9 years, 2 months ago (2015-02-15 13:27:20 UTC) #1
ul_openlilylib.org
Can't judge the code but the idea looks great :-) Urs Am 15. Februar 2015 ...
9 years, 2 months ago (2015-02-15 13:58:41 UTC) #2
david.nalesnik
9 years, 2 months ago (2015-02-15 17:50:19 UTC) #3
On Sun, Feb 15, 2015 at 7:58 AM, Urs Liska <ul@openlilylib.org> wrote:

> Can't judge the code but the idea looks great :-)
>
>
Thanks--I'm noticing that bits of code get reused on the lists, so there's
a need.   This will help tuck away some of the code gobbledygook that is so
off-putting..

It occurs to me that it shouldn't be any trouble to add something like
ly:item-location later on.  It could return (global-timestep . (measure .
measure-position))..

David
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b