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

Issue 4286042: Changes spanner-placement to a ly:dir. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 2 months ago by MikeSol
Modified:
13 years, 1 month ago
Reviewers:
mike, hanwenn
Visibility:
Public.

Description

Changes spanner-placement to a ly:dir. This changes makes it such that a footnote annotation can only ever fall on the first or last spanner.

Patch Set 1 : Changes spanner-placement to a ly:dir. #

Total comments: 2

Patch Set 2 : Responses to Han Wen's suggestions #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -37 lines) Patch
M input/regression/footnote-spanner.ly View 2 chunks +2 lines, -3 lines 0 comments Download
M lily/balloon.cc View 1 1 chunk +6 lines, -13 lines 0 comments Download
M lily/system.cc View 1 2 chunks +8 lines, -10 lines 0 comments Download
M scm/define-grob-properties.scm View 1 1 chunk +5 lines, -10 lines 0 comments Download
M scm/define-grobs.scm View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4
hanwenn
http://codereview.appspot.com/4286042/diff/2001/lily/balloon.cc File lily/balloon.cc (right): http://codereview.appspot.com/4286042/diff/2001/lily/balloon.cc#newcode77 lily/balloon.cc:77: return SCM_EOL; not sure I follow. Why not if ...
13 years, 2 months ago (2011-03-12 14:17:12 UTC) #1
hanwenn
for the rest lgtm.
13 years, 2 months ago (2011-03-12 14:17:31 UTC) #2
hanwenn
[+lilydevel] On Sat, Mar 12, 2011 at 11:17 AM, <hanwenn@gmail.com> wrote: > > http://codereview.appspot.com/4286042/diff/2001/lily/balloon.cc > ...
13 years, 2 months ago (2011-03-12 14:20:18 UTC) #3
mike_apollinemike.com
13 years, 2 months ago (2011-03-13 21:15:19 UTC) #4
On Mar 12, 2011, at 9:17 AM, hanwenn@gmail.com wrote:

> 
> http://codereview.appspot.com/4286042/diff/2001/lily/balloon.cc
> File lily/balloon.cc (right):
> 
> http://codereview.appspot.com/4286042/diff/2001/lily/balloon.cc#newcode77
> lily/balloon.cc:77: return SCM_EOL;
> not sure I follow.  Why not
> 
> if (!me->spanned_rank().contains(pos)) return
> 
> ?
> 
> also, you couldl just look at me->break_index_ to see if you're on the
> right piece?
> 
> wanted = (d ==LEFT) ? parent->broken_.begin() : parent->broken_.end()-1;
> if (me!=wanted) return
> 
> http://codereview.appspot.com/4286042/diff/2001/lily/system.cc
> File lily/system.cc (right):
> 
> http://codereview.appspot.com/4286042/diff/2001/lily/system.cc#newcode272
> lily/system.cc:272: if (pos < (int)start)
> new style casts.
> 

All issues addressed.  New patch set up at
http://codereview.appspot.com/4286042/

Cheers,
MS

Sign in to reply to this message.

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